C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} Equal Error Unequal None of these. Equal Error Unequal None of these. ANSWER DOWNLOAD EXAMIANS APP
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} 10..10 10..50 0 Error 10..10 10..50 0 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");} asiha absiha hai haasi asiha absiha hai haasi ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. III and IV I and III II and IV I and II II and III III and IV I and III II and IV I and II II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 2 1 2 2 1 1 1 2 2 1 2 2 1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? system() start() getch() printf() main() system() start() getch() printf() main() ANSWER DOWNLOAD EXAMIANS APP