C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 10 15 11 None of these 12 10 15 11 None of these 12 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 2 3 3 3 2 4 2 2 3 4 2 3 3 3 2 4 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1972 AT & T's Bell Laboratories of USA in 1970 Cambridge University in 1972 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1972 AT & T's Bell Laboratories of USA in 1970 Cambridge University in 1972 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; 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. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} 6 Error Garbage value 3 6 Error Garbage value 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Segmentation fault/runtime crash Compiler time error 10 Undefined behavior Segmentation fault/runtime crash Compiler time error 10 Undefined behavior ANSWER DOWNLOAD EXAMIANS APP