C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = -1, +i = 1 i = -1, +i = -1 None of These i = 1, +i = 1 i = -1, +i = 1 i = -1, +i = -1 None of These i = 1, +i = 1 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 None of these 1 1 2 3 1 1 2 2 0 1 2 2 0 1 2 3 None of these 1 1 2 3 1 1 2 2 0 1 2 2 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. 1 2, 4 2, 3 1, 4 None of these 1 2, 4 2, 3 1, 4 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values Error 1 1 1 0 0 0 garbage values Error 1 1 1 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 Garbage Value Garbage value 0 0 0 Code will not compile Garbage vlaue Garbage Value 0 Garbage Value Garbage value 0 0 0 Code will not compile Garbage vlaue Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED WHITE BLUE RED ERROR ERROR RED RED WHITE BLUE ERROR RED WHITE BLUE RED ERROR ERROR RED RED WHITE BLUE ERROR ANSWER DOWNLOAD EXAMIANS APP