C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 17 20 -1 16 19 17 20 -1 16 19 ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Helps to avoid repeating a set of statements many times. All of these Makes the debugging task easier. Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. All of these Makes the debugging task easier. Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. ANSWER DOWNLOAD EXAMIANS APP
C Programming The operator > and < are meaningful when used with pointers, if The pointers point to elements of the same array. None of these. The pointers point to data of similar type. The pointers point to structure of similar data type. The pointers point to elements of the same array. None of these. The pointers point to data of similar type. The pointers point to structure of similar data type. 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. Prints the value of 0 one time only. A run time error will be generated. The loop will run infinitely many times. The program will not enter into the loop. There will be a compilation error reported. Prints the value of 0 one time only. A run time error will be generated. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} None of these Exam Exam Veda Exam\0Veda Veda None of these Exam Exam Veda Exam\0Veda Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} None of These 5 7 6 None of These 5 7 6 ANSWER DOWNLOAD EXAMIANS APP