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 / sumit mondal

yes of course it is valid.

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can I remove the trailing spaces from a string?

617


how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?

1499


What is the use of a conditional inclusion statement in C?

594


What is the purpose of sprintf?

607


What is the sizeof () operator?

612






Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

644


what does static variable mean?

641


How can you draw circles in C?

611


What is the -> in c?

571


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

645


What is break in c?

574


What does the && operator do in a program code?

686


what is the function of pragma directive in c?

611


What is the use of typedef in c?

574


How can you allocate arrays or structures bigger than 64K?

675