C Programming int a[5] = {1,2,3}What is the value of a[4]? Garbage Value 2 1 3 0 Garbage Value 2 1 3 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 24 20 None of these 30 25 24 20 None of these 30 25 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. II and III I and II I, II, III and IV I, II and III II, III and IV II and III I and II I, II, III and IV I, II and III II, III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 – 1 216 216 – 1 None of these 215 215 – 1 216 216 – 1 None of these 215 ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is syntactically and semantically correct is illegal None of these. is legal but meaningless is syntactically and semantically correct is illegal None of these. is legal but meaningless 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);} P M N None of These P M N None of These ANSWER DOWNLOAD EXAMIANS APP