What will be the correct output of the following program?
#include<string.h>
void main()
{
char str[] = "C EXAMINATION", rev[17];
int i = strlen(str), j=0;
for( ; i>=0; rev[j++] = str[i--])
rev[j] = str[j] ;
puts(rev);
}
Select an option to see the answer and solution.
The function sprintf() works like printf(), but operates on ..........
Select an option to see the answer and solution.
String concatenation means -
Select an option to see the answer and solution.
errno causes trouble in two subtler ways(vague and explicit).
Select an option to see the answer and solution.
What do the following C function do?
int isgraph(int c);
Select an option to see the answer and solution.
The . . . . . . . . function tests for any character for which isalpha or isdigit is true.
Select an option to see the answer and solution.
There are two groups of string functions defined in the header <string.h>. What are they?
Select an option to see the answer and solution.
What error occurs when a result is unde?ned for a given argument value?
Select an option to see the answer and solution.
What is the prototype of strcoll() function?
Select an option to see the answer and solution.
What is the return value of strxfrm()?
Select an option to see the answer and solution.
Which among the following is Copying function?
Select an option to see the answer and solution.
Which function tests for any character that is an uppercase letter.
Select an option to see the answer and solution.
No library function will store a zero in errno.
Select an option to see the answer and solution.
The . . . . . . . . function tests for any hexadecimal-digit character.
Select an option to see the answer and solution.
What does the following C code do?
int iscntrl( int c);
Select an option to see the answer and solution.
Which of the given function is used to return a pointer to the located character?
Select an option to see the answer and solution.
What will the following C code do?
char * strrchr(const char *s, int c )
char ch = c;
char *sc;
for(sc = NULL; ; ++s)
if(*s == ch)
SC = 9;
i f (*s =='\O' )
return (( char *) s);
Select an option to see the answer and solution.
Which function returns true only for the characters defined as lowercase letters?
Select an option to see the answer and solution.
The . . . . . . . . function returns the number of characters that are present before the terminating null character.
Select an option to see the answer and solution.
The . . . . . . . . function appends not more than n characters.
Select an option to see the answer and solution.