What's the best way to declare and define global variables?
Answer Posted / karnik ankit
the best way to declare and define global variables after
the header files or before the main function.
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
How can a program be made to print the line number where an error occurs?
Why do we use namespace feature?
Explain how can I write functions that take a variable number of arguments?
What does the error message "DGROUP exceeds 64K" mean?
What is static and volatile in c?
What is a nested loop?
What is null in c?
Difference between Shallow copy and Deep copy?
Is it possible to pass an entire structure to functions?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
What is variable in c example?
why we wont use '&' sing in aceesing the string using scanf
What are logical errors and how does it differ from syntax errors?
What is class and object in c?
What is a global variable in c?