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); 8 5 7 9 6 8 5 7 9 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Compiler Error 20 2 Linker Error Compiler Error 20 2 Linker Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. 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 Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } None of these Linking error Compiler Error 3 hello None of these Linking error Compiler Error 3 hello 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); }} None of these 1 2 3 10 4 5 6 7 8 9 10 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 None of these 1 2 3 10 4 5 6 7 8 9 10 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 ANSWER DOWNLOAD EXAMIANS APP