C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} complier error no error no output 1 0 complier error no error no output 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} 10012 g##g2 100 Syntax error Runtime error 10012 g##g2 100 Syntax error Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? pow(2, x) pow(x, 2) sqr(x) power(x, 2) power(2, x) pow(2, x) pow(x, 2) sqr(x) power(x, 2) power(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} Compilation error 11 13 14 12 Compilation error 11 13 14 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 11 11, 10 11, 11 10, 10 10, 11 11, 10 11, 11 10, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} WorldHello World Hello Hello World None of these WorldHello World Hello Hello World None of these ANSWER DOWNLOAD EXAMIANS APP