C Programming If the two strings are identical, then strcmp() function returns 1 true None of these -1 0 1 true None of these -1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It is a unary operator The operand can come before or after the operator It associates from the right It cannot be applied to an expression All of these It is a unary operator The operand can come before or after the operator It associates from the right It cannot be applied to an expression All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 11 12 10 15 11 12 10 15 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);} 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 Complier error Enter your age: xyz You have lived for 0 seconds Enter your age : xyz Your age is not valid ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. II, III and IV II and III I, II, III and IV I, II and III I and II II, III and IV II and III I, II, III and IV I, II and III I and II ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54554 45445 54544 45545 54554 45445 54544 45545 ANSWER DOWNLOAD EXAMIANS APP