in one file global variable int i; is declared as static. In
another file it is extern int i=100;
Is this valid ?

Answer Posted / guest

yes

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is extern keyword in c?

647


Why is c called "mother" language?

858


What functions are used for dynamic memory allocation in c language?

603


Explain what is the use of a semicolon (;) at the end of every program statement?

738


What is extern variable in c with example?

539






write a c program to find the sum of five entered numbers using an array named number

1618


Is struct oop?

583


What are types of functions?

568


Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

1432


Can stdout be forced to print somewhere other than the screen?

627


Why void main is used in c?

560


Is c easy to learn?

562


Why do we need functions in c?

562


Why is python slower than c?

608


What is a protocol in c?

560