What's the best way to declare and define global variables?
Answer Posted / vignesh1988i
as for C is concerned the best way to declare and define the
global variable is brefore the main() function
| Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
What is the difference between malloc() and calloc() function in c language?
What are the different types of constants?
explain how do you use macro?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
Which is best book for data structures in c?
Write a program with dynamically allocation of variable.
What is string constants?
What is difference between class and structure?
What does c mean in basketball?
Explain the advantages of using macro in c language?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
what is a constant pointer in C
What are the different types of control structures?
How to implement a packet in C
Differentiate between declaring a variable and defining a variable?