C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 2 2 1 1 1 2 2 1 2 2 1 1 1 2 2 1 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)));} Hello Hello World None of these WorldHello World Hello Hello World None of these WorldHello World ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} None of These 5 4 3 2 1 5 5 5 5 5 Infinite Loop None of These 5 4 3 2 1 5 5 5 5 5 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} -1 1 -1 1 complier error 1 1 -1 -1 -1 1 -1 1 complier error 1 1 -1 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? pow(x, 2) 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) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 7 0 Compiler Error 5 6 7 0 Compiler Error 5 6 ANSWER DOWNLOAD EXAMIANS APP