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 6 5 9 8 7 6 5 9 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); None of these 0 1 1 0 1 1 0 0 None of these 0 1 1 0 1 1 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values 1 1 1 0 0 0 Error garbage values 1 1 1 0 0 0 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} None of these 5 7 4 6 None of these 5 7 4 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: float ptr; *float ptr; float *ptr; None of these float ptr; *float ptr; float *ptr; None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 2 1 0.25 0.5 9 2 1 0.25 0.5 9 ANSWER DOWNLOAD EXAMIANS APP