What's the best way to declare and define global variables?
Answer Posted / guest
The best arrangement is to place each definition in some
relevant .c file, with an external declaration in a header file.
Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
When can a far pointer be used?
application attempts to perform an operation?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
what is a function method?give example?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
Explain what are binary trees?
where are auto variables stored? What are the characteristics of an auto variable?
Explain union. What are its advantages?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
Can we assign integer value to char in c?
Should I learn c before c++?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
What is function prototype?
Why do we use & in c?