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
Why do some versions of toupper act strangely if given an upper-case letter?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
find the sum of two matrices and WAP for it.
What does != Mean in c?
What is variable in c example?
What is the difference between call by value and call by reference in c?
Why doesnt long int work?
What is the use of define in c?
Add Two Numbers Without Using the Addition Operator
What is static and auto variables in c?
What is c system32 taskhostw exe?
how to write optimum code to divide a 50 digit number with a 25 digit number??
What are logical errors and how does it differ from syntax errors?
What is difference between static and global variable in c?