C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} Garbage Value 1 10 None of These Garbage Value 1 10 None of These 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 int a[5] = {1,2,3}What is the value of a[4]? 1 3 Garbage Value 2 0 1 3 Garbage Value 2 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=5 d=3 c=3 d=5 c=5 d=5 c=3 d=3 c=5 d=3 c=3 d=5 c=5 d=5 c=3 d=3 ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command comes before the first executable statement has # as the first character need not start on a new line need not start on the first column comes before the first executable statement has # as the first character need not start on a new line need not start on the first column ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Will make an infinite loop. None of these. Error Some address will be printed. Will make an infinite loop. None of these. Error Some address will be printed. ANSWER DOWNLOAD EXAMIANS APP