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
How can I automatically locate a programs configuration files in the same directory as the executable?
Difference between malloc() and calloc() function?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
Explain how do you sort filenames in a directory?
What is uint8 in c?
What language is lisp written in?
What is the difference between volatile and const volatile?
Why header files are used?
How can a number be converted to a string?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
What is the modulus operator?
Explain the term printf() and scanf() used in c language?
Who is the main contributor in designing the c language after dennis ritchie?
What is new line escape sequence?