C Programming
The library function used to find the last occurrence of a character in a string is

strrchr()
None of these
strstr()
laststr()
strnstr()

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++)

The commas should be semicolons.
The variable k can’t be initialized.
The variable must always be the letter i when using a for loop.
The increment should always be ++k .
There should be a semicolon at the end of the statement.

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
Enter your age : xyz Your age is not valid
Enter your age: xyz You have lived for 0 seconds
Complier error

ANSWER DOWNLOAD EXAMIANS APP