C Programming Which of the following function is more appropriate for reading in a multi-word string? scanf() gets() puts() None of these printf() scanf() gets() puts() None of these printf() 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 0 5.600000 Complier error 5 5.600000 6 5.600000 0 5.600000 Complier error 5 5.600000 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 World Hello WorldHello Hello World None of these World Hello WorldHello Hello World 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 Veda Exam\0Veda None of these Exam Veda Exam Veda Exam\0Veda None of these Exam Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} Complier error -10 to -1 -10 to infinite -10 to 0 Complier error -10 to -1 -10 to infinite -10 to 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} Error 1 11 12 Error 1 11 12 ANSWER DOWNLOAD EXAMIANS APP