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); 6 7 8 9 5 6 7 8 9 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It cannot be applied to an expression The operand can come before or after the operator All of these It is a unary operator It associates from the right It cannot be applied to an expression The operand can come before or after the operator All of these It is a unary operator It associates from the right ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 4 5 6 Error 4 5 6 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... ASCII value of the input read. The actual values read for each argument. 1 The number of successful read input values. 0 ASCII value of the input read. The actual values read for each argument. 1 The number of successful read input values. 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 1 3 0 0 0 1 2 0 0 0 1 3 1 0 0 0 2 1 0 0 1 3 0 0 0 1 2 0 0 0 1 3 1 0 0 0 2 1 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);} None of these 3 8 8 3 7 3 3 7 None of these 3 8 8 3 7 3 3 7 ANSWER DOWNLOAD EXAMIANS APP