C Programming Which of the following function is more appropriate for reading in a multi-word string? None of these printf() gets() puts() scanf() None of these printf() gets() puts() scanf() ANSWER DOWNLOAD EXAMIANS APP
C Programming Array passed as an argument to a function is interpreted as Number of element of the array. Address of the first element of the array. Values of the first elements of the array. Address of the array. Number of element of the array. Address of the first element of the array. Values of the first elements of the array. Address of the array. 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 World WorldHello Hello World None of these Hello World WorldHello Hello World ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } int funct(); None of these int funct(int x) { return x=x+1; } void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } int funct(); None of these int funct(int x) { return x=x+1; } ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 6 5.600000 5 5.600000 Complier error 0 5.600000 6 5.600000 5 5.600000 Complier error 0 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 II and III I, III and IV I, II and III I and II III and IV II and III I, III and IV I, II and III I and II III and IV ANSWER DOWNLOAD EXAMIANS APP