Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

what is extern int i in c programming language???

0 votes
asked Aug 10, 2018 by metal gamer (560 points)

2 Answers

+1 vote
answered Aug 17, 2018 by vivekingole (160 points)
it is a declarative statement.

thats tell the compiler the defination of variable i is present at global section
0 votes
answered Aug 24, 2018 by Aditya Mudaliar (280 points)
extern int i means that the variable is initialized somewhere else,in another file usually and not to give a compiler error,it will just a declaration that an int variable i is created outside the current file
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...