C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 5 8 6 7 9 5 8 6 7 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} Error 3 Garbage value 6 Error 3 Garbage value 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} Error None of These three zero Error None of These three zero ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 4 5 6 7 8 9 10 None of these 1 2 3 10 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 4 5 6 7 8 9 10 None of these 1 2 3 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54554 45545 55445 54544 54554 45545 55445 54544 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[1] = 3 a[1] = 2 a[0] = 2 a[0] = 3 Compilation error a[1] = 3 a[1] = 2 a[0] = 2 a[0] = 3 Compilation error ANSWER DOWNLOAD EXAMIANS APP