Arrays And Strings MCQs
Practice Arrays And Strings MCQs for competitive exams.
Arrays And Strings MCQs
Practice questions from this topic.
What does the following function returns void *memmove(void *s1,const void s2, size_t n);?
Correct Answer: A
What will be the output of the following C code? errno = 0; y = sqrt(2); if(errno == EDOM) printf("Invalid valuen"); else printf("Valid valuen");
Correct Answer: B
Use . . . . . . . . to determine the null-terminated message string that corresponds to the error code errcode.
Correct Answer: A
What will be returned in the following C code? size- t strlen(const char *s) const char *sc; for(sc = s; *sc!= ' O ' ; ++sc) return(sc - s) ;
Correct Answer: B
. . . . . . . . is reported on a domain error.
Correct Answer: A
What is the use of function char *strchr(ch, c)?
Correct Answer: B
This function offers the quickest way to determine whether two character sequences of the same known length match character for the character up to and including any null character in both.
Correct Answer: C
Which among the following option is the full set of character class Hexadecimal digits?
Correct Answer: C
Which function will you choose to join two words?
Correct Answer: B
Functions whose names begin with "strn"
Correct Answer: C
The . . . . . . . . function converts an uppercase letter to the corresponding lowercase letter.
Correct Answer: D
ERANGE is reported on an overflow or an underflow.
Correct Answer: A
