Strings on C related Questions and Answers - Page 6

Question 51 : isalpha() function is used to detect characters both in uppercase and lowercase.
1. true
2. false
3.
4.
View Answer   Discuss with Members

Question 53 : Which among the following is Copying function?
1. memcpy()
2. strcopy()
3. memcopy()
4. strxcpy()
View Answer   Discuss with Members

Question 54 : Which of the given function is used to return a pointer to the located character?
1. strrchr()
2. strxfrm()
3. memchar()
4. strchar()
View Answer   Discuss with Members

Question 55 : Which of the following function is more appropriate for reading in a multi-word string?
1. printf();
2. scanf();
3. gets();
4. puts();
View Answer   Discuss with Members

Question 56 : Which of the following function is used to find the first occurrence of a given string in another string?
1. strchr()
2. strrchr()
3. strstr()
4. strnset()
View Answer   Discuss with Members

Question 57 : The library function used to find the last occurrence of a character in a string is
1. strnstr()
2. laststr()
3. strrchr()
4. strstr()
View Answer   Discuss with Members

Question 59 : If the two strings are identical, then strcmp() function returns
1. -1
2. 1
3. 0
4. Yes
View Answer   Discuss with Members

Question 60 : Which of the following function sets first n characters of a string to a given character?
1. strinit()
2. strnset()
3. strset()
4. strcset()
View Answer   Discuss with Members


View 51 - 60 of 60 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter