C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 12 15 13 Garbage Value 14 12 15 13 Garbage Value 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 2 4 5 2 4 4 8 5 5 2 5 5 2 4 5 2 4 4 8 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compiler Error will print Hello World Can't Say None of These Compiler Error will print Hello World Can't Say None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 0289 1289 713 0713 Syntax error 0289 1289 713 0713 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 2, 3 2, 4 None of these 1, 4 1 2, 3 2, 4 None of these 1, 4 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} GOOD None of These Compiler Error GOOD BAD GOOD None of These Compiler Error GOOD BAD ANSWER DOWNLOAD EXAMIANS APP