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 Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} Error None of These 300 %d\n Error None of These 300 %d\n ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 20 8 50 2 Theoratically no limit. The only practical limits are memory size and compilers. 20 8 50 2 Theoratically no limit. The only practical limits are memory size and compilers. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World will print garbage value Compilation Error None of these. will print Hello World will print garbage value Compilation Error None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(int) { printf(“Hello"); } int funct(); void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these void funct(int) { printf(“Hello"); } int funct(); void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} 50 Compiler Error 10 None of These 50 Compiler Error 10 None of These ANSWER DOWNLOAD EXAMIANS APP