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); 9 5 6 7 8 9 5 6 7 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 11 11, 11 10, 10 11, 10 10, 11 11, 11 10, 10 11, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 0 complier error 1 no error no output 0 complier error 1 no error no output 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); }} 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 None of these 4 5 6 7 8 9 10 1 2 3 10 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 None of these 4 5 6 7 8 9 10 1 2 3 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} -2 1 2 Error -2 1 2 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=4 j=2 i=5 j=2 the behavior is undefined i=3 j=2 i=4 j=2 i=5 j=2 the behavior is undefined i=3 j=2 ANSWER DOWNLOAD EXAMIANS APP