C Programming Which of following is not a valid name for a C variable? Exam_veda None of these Examians Exam veda Both A and B Exam_veda None of these Examians Exam veda Both A and B ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop Compilation Error None of these 5 5 5 5 5 5 4 3 2 1 Infinite Loop Compilation Error None of these 5 5 5 5 5 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 4 5 6 7 Runtime error 1 2 3 4 Syntax error 4 4 5 6 7 Runtime error 1 2 3 4 Syntax error 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 0 1 2 3 1 1 2 2 None of these 0 1 2 2 1 1 2 3 0 1 2 3 1 1 2 2 None of these 0 1 2 2 1 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } Linking error 3 hello Compiler Error None of these Linking error 3 hello Compiler Error None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is illegal None of these. is syntactically and semantically correct is legal but meaningless is illegal None of these. is syntactically and semantically correct is legal but meaningless ANSWER DOWNLOAD EXAMIANS APP