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); 7 5 9 6 8 7 5 9 6 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 7 3 None of these 8 3 3 8 3 7 7 3 None of these 8 3 3 8 3 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} %d\n None of These 300 Error %d\n None of These 300 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }} Run time error Enter a number:99 Number is divisible by 5 complier error Enter a number:99 Run time error Enter a number:99 Number is divisible by 5 complier error Enter a number:99 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);} Error garbage values 1 1 1 0 0 0 Error garbage values 1 1 1 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi followed by garbage value h hi Garbage Value Error hi followed by garbage value h hi Garbage Value Error ANSWER DOWNLOAD EXAMIANS APP