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");} Error Equal None of these. Unequal Error Equal None of these. Unequal ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the best answer.Prior to using a pointer variable It should be declared. None of these. It should be both declared and initialized. It should be initialized. It should be declared. None of these. It should be both declared and initialized. It should be initialized. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } te ow ck et te ow ck et ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } exam is printed Nothing is printed XAM is printed Compiler Error exam is printed Nothing is printed XAM is printed Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 6 5.600000 0 5.600000 Complier error 5 5.600000 6 5.600000 0 5.600000 Complier error 5 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5? 450 110 -10 -110 10 450 110 -10 -110 10 ANSWER DOWNLOAD EXAMIANS APP