C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} 3 2 1 0 3 2 1 infinity loop no output 3 2 1 0 3 2 1 infinity loop no output ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 5 5 5 2 4 5 2 4 4 2 5 5 5 5 5 2 4 5 2 4 4 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } Hello H None of these. Some address will be printed Hello H None of these. Some address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World Compilation Error None of these. will print garbage value will print Hello World Compilation Error None of these. will print garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Partitioning the string into two strings. Combining two strings. Merging two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Partitioning the string into two strings. Combining two strings. Merging two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} None of These Infinite Loop 5 5 5 5 5 5 4 3 2 1 None of These Infinite Loop 5 5 5 5 5 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP