What's the best way to declare and define global variables?
Answer Posted / guest
The best arrangement is to place each definition in some
relevant .c file, with an external declaration in a header file.
Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
What are the uses of a pointer?
Why is sizeof () an operator and not a function?
What is a null pointer in c?
what are the advantages of a macro over a function?
what is a function method?give example?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
What does return 1 means in c?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
Explain how do you sort filenames in a directory?
what is recursion in C
What is the use of ?
What is the use of getchar() function?