C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} no output 3 2 1 infinity loop 3 2 1 0 no output 3 2 1 infinity loop 3 2 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? gets() None of these scanf() puts() printf() gets() None of these scanf() puts() printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... stderr string stdin Data file no such function in 'C'. stderr string stdin Data file no such function in 'C'. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } ck et te ow ck et te ow ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ float long int char short float long int char short 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)));} WorldHello None of these World Hello World Hello WorldHello None of these World Hello World Hello ANSWER DOWNLOAD EXAMIANS APP