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 6 8 5 9 7 6 8 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 1 2 1 1 2 2 2 1 1 2 1 1 2 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} Error -2 1 2 Error -2 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Exam_veda Examians None of these Exam veda Both A and B Exam_veda Examians None of these Exam veda Both A and B ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 13 14 14 22 14 12 13 22 11 11 11 22 12 12 13 12 10 11 13 22 13 14 14 22 14 12 13 22 11 11 11 22 12 12 13 12 10 11 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr and p, both are pointers to integer. ptr and p both are not pointers to integer. ptr is pointer to integer, p may or may not be. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ptr and p both are not pointers to integer. ptr is pointer to integer, p may or may not be. ptr is a pointer to integer, p is not. ANSWER DOWNLOAD EXAMIANS APP