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 program will not enter into the loop. A run time error will be generated. Prints the value of 0 one time only. The loop will run infinitely many times. There will be a compilation error reported. The program will not enter into the loop. A run time error will be generated. Prints the value of 0 one time only. The loop will run infinitely many times. There will be a compilation error reported. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } 64 4 None of These 16 64 4 None of These 16 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; }} 2 2 2 2 2 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 2 2 2 2 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming The operator > and < are meaningful when used with pointers, if None of these. The pointers point to structure of similar data type. The pointers point to data of similar type. The pointers point to elements of the same array. None of these. The pointers point to structure of similar data type. The pointers point to data of similar type. The pointers point to elements of the same array. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 1 1 2 2 None of these 0 1 2 3 1 1 2 3 0 1 2 2 1 1 2 2 None of these 0 1 2 3 1 1 2 3 0 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strstr() laststr() None of these strrchr() strnstr() strstr() laststr() None of these strrchr() strnstr() ANSWER DOWNLOAD EXAMIANS APP