C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 16 17 20 -1 19 16 17 20 -1 19 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 4..4 2..4 2..2 4..2 4..4 2..4 2..2 4..2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 Compiler Error None of These 50 10 Compiler Error None of These 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} None of these Exam Veda Veda Exam Exam\0Veda None of these Exam Veda Veda Exam Exam\0Veda 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); } Compiler Error 3 hello None of these Linking error Compiler Error 3 hello None of these Linking error ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? Syntax error Runtime error 8 6 No output Syntax error Runtime error 8 6 No output ANSWER DOWNLOAD EXAMIANS APP