C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[1] = 2 a[0] = 3 Compilation error a[1] = 3 a[0] = 2 a[1] = 2 a[0] = 3 Compilation error a[1] = 3 a[0] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} H None of These Some Address will be printed Hello H None of These Some Address will be printed Hello ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 216 – 1 None of these 215 216 215 – 1 216 – 1 None of these 215 216 215 – 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program None of these Needs input data. Must contain at least one function. Need not contain any function. None of these Needs input data. Must contain at least one function. Need not contain any function. ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. II and III I and III III and IV I and II II and IV II and III I and III III and IV I and II II and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } XAM is printed exam is printed Compiler Error Nothing is printed XAM is printed exam is printed Compiler Error Nothing is printed ANSWER DOWNLOAD EXAMIANS APP