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); } None of These 16 64 4 None of These 16 64 4 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 );} There will be a compilation error reported. A run time error will be generated. Prints the value of 0 one time only. The program will not enter into the loop. The loop will run infinitely many times. There will be a compilation error reported. A run time error will be generated. Prints the value of 0 one time only. The program will not enter into the loop. The loop will run infinitely many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Exam\0Veda Exam None of these Exam Veda Veda Exam\0Veda Exam None of these Exam Veda Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} None of these Hello Hello World World WorldHello None of these Hello Hello World World WorldHello ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is legal but meaningless None of these. is illegal is syntactically and semantically correct is legal but meaningless None of these. is illegal is syntactically and semantically correct ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strrchr() None of these laststr() strstr() strnstr() strrchr() None of these laststr() strstr() strnstr() ANSWER DOWNLOAD EXAMIANS APP