What's the best way to declare and define global variables?
Answer Posted / ajeet singh
through the "public" key world, we define the globle variable.
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
What is malloc return c?
What is the purpose of void pointer?
Explain what are linked list?
Why c is known as a mother language?
Can the size of an array be declared at runtime?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
What is a list in c?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
main() { printf("hello"); fork(); }
How are portions of a program disabled in demo versions?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
What is the default value of local and global variables in c?
What is the use of structure padding in c?
What is a pragma?