C Programming Which of the following function calculates the square of 'x' in C? pow(x, 2) pow(2, x) power(2, x) power(x, 2) sqr(x) pow(x, 2) pow(2, x) power(2, x) power(x, 2) sqr(x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } None of these Compiler Error Linking error 3 hello None of these Compiler Error Linking error 3 hello ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 10 0 Infinite loop 0123456789 Syntax error 10 0 Infinite loop 0123456789 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} P None of These M N P None of These M N ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 5 Compiler Error Garbage Value 6 5 Compiler Error Garbage Value 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when 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 All of these ANSWER DOWNLOAD EXAMIANS APP