Discussion
The strpbrk() function is used to return a pointer to the character, or a null pointer if no character from s2 occurs in s1.
Answer: A
Correct answer: true
strpbrk(s1, s2) - “pointer break” - scans s1 for the first character that appears anywhere in s2, and returns a pointer to it, or NULL if none of them occurs. It is the pointer-returning counterpart of strcspn, which returns the same position as a length.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development