+ 1

Please solve extern code error

This code is c programing

29th Nov 2020, 2:35 PM
Shaikh Jahangir Alam
Shaikh Jahangir Alam - avatar
4 Respuestas
+ 3
Hi there, we are always ready to help you with all the bugs that you face but please post your code so we can help you out. We don't know which could you're talking about so please post ur code, please
29th Nov 2020, 2:51 PM
Steve Sajeev
Steve Sajeev - avatar
+ 1
#include <stdio.h> int num=75; void display(); int main() { extern int num; printf ("nNum : %d",num); display(); } void display() { extern int num; printf ("\nNum:%d",num); } //Shaikh Jahangir alam is this what you looking..? //Observe changes with your code.. //Explanation is already given by @Martin Taylor. Read again...
29th Nov 2020, 6:12 PM
Jayakrishna 🇮🇳