C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 5 6 Garbage Value Compiler Error 5 6 Garbage Value Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} 10 20 30 40 50 Garbage Value None of These 10 20 30 40 50 10 20 30 40 50 Error 10 20 30 40 50 Garbage Value None of These 10 20 30 40 50 10 20 30 40 50 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? pow(2, x) power(x, 2) sqr(x) power(2, x) pow(x, 2) pow(2, x) power(x, 2) sqr(x) power(2, x) pow(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 14 13 12 15 Garbage Value 14 13 12 15 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = -1, +i = -1 i = -1, +i = 1 i = 1, +i = 1 None of These i = -1, +i = -1 i = -1, +i = 1 i = 1, +i = 1 None of These 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