C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is None of these 216 216 – 1 215 215 – 1 None of these 216 216 – 1 215 215 – 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Examians None of these Exam veda Exam_veda Both A and B Examians None of these Exam veda Exam_veda Both A and B ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The loop will run infinitely many times. The program will not enter into the loop. There will be a compilation error reported. A run time error will be generated. Prints the value of 0 one time only. The loop will run infinitely many times. The program will not enter into the loop. There will be a compilation error reported. A run time error will be generated. Prints the value of 0 one time only. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} Syntax error NOITANIMAXE C NOITANIMAXE C No output at all. Syntax error NOITANIMAXE C NOITANIMAXE C No output at all. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} None of These Infinite Loop 5 4 3 2 1 0 0 0 0 None of These Infinite Loop 5 4 3 2 1 0 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 6 None of these Garbage Value 5 0 6 None of these Garbage Value 5 0 ANSWER DOWNLOAD EXAMIANS APP