C Programming String concatenation means - Comparing the two strings to define the larger one. Partitioning the string into two strings. Combining two strings. Extracting a substring out of a string. Merging two strings. Comparing the two strings to define the larger one. Partitioning the string into two strings. Combining two strings. Extracting a substring out of a string. Merging two strings. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop Compilation Error None of these 5 4 3 2 1 5 5 5 5 5 Infinite Loop Compilation Error None of these 5 4 3 2 1 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 2 4 5 8 5 5 2 5 5 2 4 4 2 4 5 8 5 5 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Needs input data. Need not contain any function. None of these Must contain at least one function. Needs input data. Need not contain any function. None of these Must contain at least one function. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Garbage value 0 Garbage vlaue Garbage Value 0 Garbage Value Code will not compile 0 0 Garbage value 0 Garbage vlaue Garbage Value 0 Garbage Value Code will not compile 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=4 x=1 x=5 Error x=0 x=4 x=1 x=5 Error x=0 ANSWER DOWNLOAD EXAMIANS APP