C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Garbage Value 5 6 Compiler Error Garbage Value 5 6 Compiler Error 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. The program will not enter into the loop. A run time error will be generated. There will be a compilation error reported. The loop will run infinitely many times. Prints the value of 0 one time only. The program will not enter into the loop. A run time error will be generated. There will be a compilation error reported. The loop will run infinitely many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 0 1 10 14 0 1 10 14 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]){} 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]){} void fun(int p[][4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; 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. 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. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} Complier error 6 5.600000 0 5.600000 5 5.600000 Complier error 6 5.600000 0 5.600000 5 5.600000 ANSWER DOWNLOAD EXAMIANS APP