C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 0 None of These Garbage Value 2 0 None of These Garbage Value 2 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 The function sprintf() works like printf(), but operates on .......... no such function in 'C'. Data file string stdin stderr no such function in 'C'. Data file string stdin stderr ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} Error 10 20 30 40 50 10 20 30 40 50 None of These 10 20 30 40 50 Garbage Value Error 10 20 30 40 50 10 20 30 40 50 None of These 10 20 30 40 50 Garbage Value 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[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]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when Initialization is a part of definition All of these It is a declaratrion It is a formal parameter Initialization is a part of definition All of these It is a declaratrion It is a formal parameter ANSWER DOWNLOAD EXAMIANS APP