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)++;} Compilation error a[1] = 3 a[0] = 2 a[1] = 2 a[0] = 3 Compilation error a[1] = 3 a[0] = 2 a[1] = 2 a[0] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 0 0 0 0 Infinite Loop 5 4 3 2 1 None of These 0 0 0 0 Infinite Loop 5 4 3 2 1 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? sqr(x) pow(x, 2) power(x, 2) power(2, x) pow(2, x) sqr(x) pow(x, 2) power(x, 2) power(2, x) pow(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the best answer.Prior to using a pointer variable It should be declared. None of these. It should be both declared and initialized. It should be initialized. It should be declared. None of these. It should be both declared and initialized. It should be initialized. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 1 no error no output 0 complier error 1 no error no output 0 complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when All of these Initialization is a part of definition It is a declaratrion It is a formal parameter All of these Initialization is a part of definition It is a declaratrion It is a formal parameter ANSWER DOWNLOAD EXAMIANS APP