C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 216 – 1 216 215 – 1 None of these 215 216 – 1 216 215 – 1 None of these 215 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} None of These Garbage Value 0 2 None of These Garbage Value 0 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 2 0.25 0.5 9 1 2 0.25 0.5 9 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed? y=EXAMIANS y=VEDA y=MVEDA y=AMVEDA y=EDA y=EXAMIANS y=VEDA y=MVEDA y=AMVEDA y=EDA ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Will make an infinite loop. None of these. Error Some address will be printed. Will make an infinite loop. None of these. Error Some address will be printed. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Forget it Ok here Error None of These Forget it Ok here Error None of These ANSWER DOWNLOAD EXAMIANS APP