C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 216 – 1 None of these 215 – 1 216 215 216 – 1 None of these 215 – 1 216 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 2 Theoratically no limit. The only practical limits are memory size and compilers. 8 20 50 2 Theoratically no limit. The only practical limits are memory size and compilers. 8 20 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 1 2 3 4 Syntax error 4 4 5 6 7 Runtime error 1 2 3 4 Syntax error 4 4 5 6 7 Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } Hello H Some address will be printed None of these. Hello H Some address will be printed None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? strstr() strchr() strnset() strrchr() None of these strstr() strchr() strnset() strrchr() None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} Error x=4 x=0 x=5 x=1 Error x=4 x=0 x=5 x=1 ANSWER DOWNLOAD EXAMIANS APP