C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} no error no output complier error 1 0 no error no output complier error 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} Error 10..10 10..50 0 Error 10..10 10..50 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? float int Depends upon the type of the variable to which it is pointing. unsigned int No data type float int Depends upon the type of the variable to which it is pointing. unsigned int No data type ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Unary-operator Comma operator Conditional operator Assignment operator Division operator Unary-operator Comma operator Conditional operator Assignment operator Division operator ANSWER DOWNLOAD EXAMIANS APP
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 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));} 11 12 15 10 None of these 11 12 15 10 None of these ANSWER DOWNLOAD EXAMIANS APP