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 9 5 6 7 8 9 5 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 14 11 12 Compilation error 13 14 11 12 Compilation error 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming C was primarily developed as System programming language None of these General purpose language Data processing language System programming language None of these General purpose language Data processing language ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Garbage Value hi Error hi followed by garbage value h Garbage Value hi Error hi followed by garbage value h ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} There will be a compilation error reported. The program will not enter into the loop. Prints the value of 0 one time only. The loop will run infinitely many times. A run time error will be generated. There will be a compilation error reported. The program will not enter into the loop. Prints the value of 0 one time only. The loop will run infinitely many times. A run time error will be generated. 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