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");} Unequal None of these. Error Equal Unequal None of these. Error Equal ANSWER DOWNLOAD EXAMIANS APP
C Programming "My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above. printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15%!"); ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Ok here Error Forget it None of These Ok here Error Forget it None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 6 No output Syntax error Runtime error 8 6 No output Syntax error Runtime error 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=5 d=3 c=5 d=5 c=3 d=3 c=3 d=5 c=5 d=3 c=5 d=5 c=3 d=3 c=3 d=5 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);} None of These 10 50 Compiler Error None of These 10 50 Compiler Error ANSWER DOWNLOAD EXAMIANS APP