What's the best way to declare and define global variables?

Answer Posted / sathish

before the main

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is "Duff's Device"?

790


What is static memory allocation?

716


What are the 5 data types?

680


How can my program discover the complete pathname to the executable from which it was invoked?

743


What is data structure in c programming?

667






How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

748


What is a pointer in c plus plus?

796


What is the difference between %d and %i?

674


What does node * mean?

836


Tell me when would you use a pointer to a function?

703


What is I ++ in c programming?

707


What is the size of enum in bytes?

677


What are preprocessor directives in c?

749


What is meant by realloc()?

778


Define Array of pointers.

734