C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error hi Garbage Value hi followed by garbage value h Error hi Garbage Value hi followed by garbage value h ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 2 1 9 0.25 0.5 2 1 9 0.25 0.5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } None of These 4 16 64 None of These 4 16 64 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} None of These three Error zero None of These three Error zero 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");} None of These Error I hate Examians I love Examians None of These Error I hate Examians I love Examians ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Merging two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Partitioning the string into two strings. Combining two strings. Merging two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Partitioning the string into two strings. Combining two strings. ANSWER DOWNLOAD EXAMIANS APP