In which area of memory are static variables allocated?
Correct Answer: stack
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C Programming Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C Programming MCQ Questions
Output of the following program ? main() { int u = 1, v = 3; printf('%d %d',u,v); funct1(&u,&v); printf('%d %d\n',u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; }
Which standard function is used to clear memory allocated by the malloc() function?
Output as a result of the following code snippet? main() { int arr[10]; int a = sizeof(arr); printf('%d\n',a); return 0; }
Output of the following code snippet? #include main() { unsigned char a=255; a = a+1; printf('%d',a); return 0; }
Output of following code? int' main() { int i; i = 0; for (i = 1; i <2; i++) { i++; printf( '%d', i ); continue; printf( "%d", i ); } return 0; }
C preprocessors can have compiler specific features.
Consider the 32 bit compiler. We need to store address of integer variable to integer pointer. What will be the size of integer pointer ?
What is (void*)0?
Output of the following program? int main () { int foo = 1; do{ printf('%d ', foo); foo++; }while( foo <= 10 ) return 0; }
What is used to convert a C program into machine language for execution?