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
Explain pointer. What are function pointers in C?
Differentiate between functions getch() and getche().
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
What is the difference between union and anonymous union?
What is a null string in c?
how to execute a program using if else condition and the output should enter number and the number is odd only...
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
What is register variable in c language?
How do you use a pointer to a function?
Differentiate between a structure and a union.
What is static identifier?
Is there sort function in c?
Is c pass by value or reference?
How can I sort a linked list?
What is pass by reference in functions?