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); 9 7 5 6 8 9 7 5 6 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[1] = 2 a[0] = 2 a[1] = 3 a[0] = 3 Compilation error a[1] = 2 a[0] = 2 a[1] = 3 a[0] = 3 Compilation error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 2 20 50 8 Theoratically no limit. The only practical limits are memory size and compilers. 2 20 50 8 Theoratically no limit. The only practical limits are memory size and compilers. ANSWER DOWNLOAD EXAMIANS APP
C Programming In C programming language, which of the following type of operators have the highest precedence Equality operators Arithmetic operators Logical operators Relational operators Equality operators Arithmetic operators Logical operators Relational operators ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } Hello H None of these. Some address will be printed Hello H None of these. Some address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 11 11, 10 10, 10 11, 11 10, 11 11, 10 10, 10 11, 11 ANSWER DOWNLOAD EXAMIANS APP