C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 1 complier error no error no output 0 1 complier error no error no output 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} Prints the value of 0 one time only. There will be a compilation error reported. A run time error will be generated. The loop will run infinitely many times. The program will not enter into the loop. Prints the value of 0 one time only. There will be a compilation error reported. A run time error will be generated. The loop will run infinitely many times. The program will not enter into the loop. 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]){} None of these void fun(int *p[4]){} void fun(int *p[3][4]){} void fun(int p[][4]){} void fun(int *p[][4]){} None of these void fun(int *p[4]){} void fun(int *p[3][4]){} void fun(int p[][4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is a pointer to an array of 10 integers ptr is an array of 10 integers ptr is array of pointers to 10 integers ptr is an pointer to array ptr is a pointer to an array of 10 integers ptr is an array of 10 integers ptr is array of pointers to 10 integers ptr is an pointer to array 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 What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 3 4 3 3 2 2 2 3 2 4 3 4 3 3 2 2 2 3 2 4 ANSWER DOWNLOAD EXAMIANS APP