What are static variables, and where are they stored?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
Static variables retain their value across multiple function calls. They are stored in the data segment of memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
Static variables retain their value across multiple function calls. They are stored in the data segment of memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is indirection in c?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
What is a Deque?
What is a memory leak in structures? How can we rectify that?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
What is the full form of getch?
Why we use stdio h in c?
will the program compile? int i; scanf(ā%dā,i); printf(ā%dā,i);
Difference between data structure and data base.
7 Answers CTS, Value Labs, Zoho,
What are the types of functions in c?
Write a progarm to find the length of string using switch case?
main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }