C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} h Garbage Value hi Error hi followed by garbage value h Garbage Value hi Error hi followed by garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 0 5 7 6 Compiler Error 0 5 7 6 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ float me = 1.1; double you = 1.1; if(me==you) printf("I hate Examveda"); else printf("I love Examveda");} I hate Examians I love Examians None of These Error I hate Examians I love Examians None of These Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 5 5 5 2 4 4 2 5 5 2 4 5 5 5 5 2 4 4 2 5 5 2 4 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} mmm nnn aaa Compiler Error mmmm nnnn aaaa None of These mmm nnn aaa Compiler Error mmmm nnnn aaaa None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 11 15 10 12 11 15 10 12 ANSWER DOWNLOAD EXAMIANS APP