C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 0 10..10 Error 10..50 0 10..10 Error 10..50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? power(x, 2) power(2, x) sqr(x) pow(x, 2) pow(2, x) power(x, 2) power(2, x) sqr(x) pow(x, 2) pow(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} A 65 c Error A 65 c Error 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);} x=4 x=1 x=0 x=5 Error x=4 x=1 x=0 x=5 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming When a function is recursively called all the automatic variables are stored in a .......... Stack Queue Array Register Linked list Stack Queue Array Register Linked list ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} 333 Garbage Value 000 444 433 333 Garbage Value 000 444 433 ANSWER DOWNLOAD EXAMIANS APP