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
I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?
What do you mean by overhead in c++?
Explain container class.
What is a modifier in c++?
What is using namespace std in cpp?
What is class syntax c++?
How would you use the functions randomize() and random()?
What is an adjust field format flag?
Is c++ used anymore?
What is malloc in c++?
What are the two types of comments, and how do they differ?
Explain terminate() function?
What are arrays c++?
Tell me can a pure virtual function have an implementation?
Is it possible to pass an object of the same class in place of object reference to the copy constructor?