Answer Posted / shanmugavalli
int strcmp(const char *src, const char *dest)
{
while (*src && *dest && (*src==*dest))
{
src++;
dest++;
}
return (*src-*dest);
}
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is flush () in c++?
What's the order in which the objects in an array are destructed?
What's the order in which the local objects are destructed?
Describe protected access specifiers?
How are pointers type-cast?
What is c++ used for in games?
What is vector processing?
What is an inclusion guard?
What are arithmetic operators?
What are the basics of local (auto) objects?
Is it possible to get the source code back from binary file?
What is a manipulative person?
Explain Text Manipulation Routines?
What are pointer-to-members? Explain.
What do nonglobal variables default to a) auto b) register c) static