C Programming Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);} 4 None of These 16 64 4 None of These 16 64 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. A run time error will be generated. The program will not enter into the loop. Prints the value of 0 one time only. There will be a compilation error reported. The loop will run infinitely many times. A run time error will be generated. The program will not enter into the loop. Prints the value of 0 one time only. There will be a compilation error reported. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Garbage vlaue Garbage Value Garbage value 0 0 0 Code will not compile 0 Garbage Value Garbage vlaue Garbage Value Garbage value 0 0 0 Code will not compile 0 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? gets() scanf() puts() printf() None of these gets() scanf() puts() printf() None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; None of these. is legal but meaningless is illegal is syntactically and semantically correct None of these. is legal but meaningless is illegal is syntactically and semantically correct ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 7 None of These 5 6 7 None of These 5 6 ANSWER DOWNLOAD EXAMIANS APP