C Programming int a[5] = {1,2,3}What is the value of a[4]? 2 Garbage Value 1 3 0 2 Garbage Value 1 3 0 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; }} zero Error three None of These zero Error three None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Garbage Value hi followed by garbage value Error h hi Garbage Value hi followed by garbage value Error h hi ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} None of These M N P None of These M N P 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]);} mmmm nnnn aaaa None of These Compiler Error mmm nnn aaa mmmm nnnn aaaa None of These Compiler Error mmm nnn aaa ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} Garbage Value 10 1 None of These Garbage Value 10 1 None of These ANSWER DOWNLOAD EXAMIANS APP