C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} A 65 Error c A 65 Error c ANSWER DOWNLOAD EXAMIANS APP
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");} None of these. Error Unequal Equal None of these. Error Unequal Equal ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 0 0123456789 Syntax error 10 Infinite loop 0 0123456789 Syntax error 10 Infinite loop ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int n{} = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);} 64 4 None of These 16 64 4 None of These 16 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr and p both are not pointers to integer. ptr is pointer to integer, p may or may not be. ptr and p, both are pointers to integer. ptr is a pointer to integer, p is not. ptr and p both are not pointers to integer. ptr is pointer to integer, p may or may not be. ptr and p, both are pointers to integer. ptr is a pointer to integer, p is not. ANSWER DOWNLOAD EXAMIANS APP