C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 1 Garbage Value 2 0 3 1 Garbage Value 2 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 5 6 6 6 6 7 11 6 12 7 5 6 6 6 6 7 11 6 12 7 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 );} 9 2 0.5 0.25 1 9 2 0.5 0.25 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Exam_veda Examians Exam veda None of these Both A and B Exam_veda Examians Exam veda None of these Both A and B ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} None of These 12PP345 12PP Compiler Error None of These 12PP345 12PP Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=5 j=2 i=3 j=2 i=4 j=2 the behavior is undefined i=5 j=2 i=3 j=2 i=4 j=2 the behavior is undefined ANSWER DOWNLOAD EXAMIANS APP