C Programming If the two strings are identical, then strcmp() function returns true 0 1 None of these -1 true 0 1 None of these -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter "xyz" ?#includevoid main(){float age, AgeInSeconds;int value;printf("Enter your age:");value=scanf("%f", &age);if(value==0){printf("\\nYour age is not valid");}AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("\\n You have lived for %f seconds", AgeInSeconds);} Complier error Enter your age: xyz You have lived for 0 seconds Enter your age : xyz Your age is not valid Enter your age: xyz Your age is not valid Complier error Enter your age: xyz You have lived for 0 seconds Enter your age : xyz Your age is not valid Enter your age: xyz Your age is not valid ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} None of These 5 4 3 2 1 Infinite Loop 0 0 0 0 None of These 5 4 3 2 1 Infinite Loop 0 0 0 0 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 te ow et ck te ow et 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();} 5 5 5 5 5 Compilation Error None of these 5 4 3 2 1 Infinite Loop 5 5 5 5 5 Compilation Error None of these 5 4 3 2 1 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - 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. Comparing the two strings to define the larger one. Partitioning the string into two strings. Combining two strings. ANSWER DOWNLOAD EXAMIANS APP