What's the best way to declare and define global variables?
Answer Posted / anurag aggarwal
after declaring the header files declare the global
variables to be used that is the best way.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is wrong with this code?
What is a built-in function in C?
Difference between malloc() and calloc() function?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
What is a null pointer in c?
what are bit fields? What is the use of bit fields in a structure declaration?
What is the difference between array_name and &array_name?
What does %c do in c?
What are types of structure?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
What is malloc and calloc?
Are the expressions * ptr ++ and ++ * ptr same?
If null and 0 are equivalent as null pointer constants, which should I use?
Why is c faster?
Explain the use of keyword 'register' with respect to variables.