61. 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);
}
#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);
}
62. The function sprintf() works like printf(), but operates on ..........
63. String concatenation means -
64. errno causes trouble in two subtler ways(vague and explicit).
65. What do the following C function do?
int isgraph(int c);
int isgraph(int c);
66. The . . . . . . . . function tests for any character for which isalpha or isdigit is true.
67. There are two groups of string functions defined in the header <string.h>. What are they?
68. What error occurs when a result is unde?ned for a given argument value?
69. What is the prototype of strcoll() function?
70. What is the return value of strxfrm()?
Read More Section(Arrays and Strings)
Each Section contains maximum 100 MCQs question on Arrays and Strings. To get more questions visit other sections.