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 8 6 9 7 5 8 6 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. Both of the above We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. Both of the above ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} void fun(int *p[4]){} void fun(int p[][4]){} void fun(int *p[][4]){} None of these void fun(int *p[3][4]){} void fun(int *p[4]){} void fun(int p[][4]){} void fun(int *p[][4]){} None of these void fun(int *p[3][4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming In C programming language, which of the following type of operators have the highest precedence Equality operators Logical operators Arithmetic operators Relational operators Equality operators Logical operators Arithmetic operators Relational operators ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 10 10, 11 11, 11 10, 10 11, 10 10, 11 11, 11 10, 10 ANSWER DOWNLOAD EXAMIANS APP