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 9 6 8 5 7 9 6 8 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 5 Garbage Value Compiler Error 6 5 Garbage Value Compiler Error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 100 5 100 5 0 20 5 0 100 100 0 100 100 100 100 100 5 100 5 0 20 5 0 100 100 0 100 100 100 100 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);} Garbage value 6 3 Error Garbage value 6 3 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} infinity loop no output 3 2 1 0 3 2 1 infinity loop no output 3 2 1 0 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... No scope at all Block scope File scope Local scope Function scope No scope at all Block scope File scope Local scope Function scope ANSWER DOWNLOAD EXAMIANS APP