C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} -1 1 1 -1 -1 1 -1 1 complier error -1 1 1 -1 -1 1 -1 1 complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? None of these Exam_veda Examians Exam veda Both A and B None of these Exam_veda Examians Exam veda Both A and B ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=5 j=2 i=4 j=2 the behavior is undefined i=3 j=2 i=5 j=2 i=4 j=2 the behavior is undefined i=3 j=2 ANSWER DOWNLOAD EXAMIANS APP
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 9 8 6 5 7 9 8 6 5 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[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]){} void fun(int *p[][4]){} void fun(int *p[4]){} void fun(int p[][4]){} None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Syntax error Runtime error 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Syntax error Runtime error ANSWER DOWNLOAD EXAMIANS APP