1.

Which of the following have their changes in their declaration related to constness of parameter?(a) strchr(b) string(c) memory(d) strcybrkThis question was addressed to me in an online quiz.I'm obligated to ask this question of C Standard Library topic in portion Strings, Streams & Numerics in C++ of C++

Answer»

The correct choice is (a) strchr

Easy explanation - These are the ITEMS which will have their CHANGE in declaration related to CONSTNESS of parameter. They are strchr, STRPBRK, strrchr, strstr, memchr.



Discussion

No Comment Found

Related InterviewSolutions