C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 3 7 8 3 None of these 3 8 7 3 3 7 8 3 None of these 3 8 7 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? Both can occur multiple times, but a definition must occur first. There is no difference between them. Both can occur multiple times, but a declaration must occur first. A definition occurs once, but a declaration may occur many times. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a definition must occur first. There is no difference between them. Both can occur multiple times, but a declaration must occur first. A definition occurs once, but a declaration may occur many times. A declaration occurs once, but a definition may occur many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} 10 None of these. Error 0.000000 10 None of these. Error 0.000000 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 10 9 None of These 11 10 9 None of These 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} 1 -1 1 1 complier error -1 1 -1 -1 1 -1 1 1 complier error -1 1 -1 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Garbage Value hi h Error hi followed by garbage value Garbage Value hi h Error hi followed by garbage value ANSWER DOWNLOAD EXAMIANS APP