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 );} 0.5 9 2 1 0.25 0.5 9 2 1 0.25 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 0 -1 1 33 Compilation Error 0 -1 1 33 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } te ck ow et te ck ow et ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} None of these 65474, 65488 65474, 65476 65480, 65488 65480, 65496 None of these 65474, 65488 65474, 65476 65480, 65488 65480, 65496 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Both A and B Exam_veda Exam veda Examians None of these Both A and B Exam_veda Exam veda Examians None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5? 110 -10 450 -110 10 110 -10 450 -110 10 ANSWER DOWNLOAD EXAMIANS APP