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 are the methods of exporting a function from a dll?
Where Malloc(), Calloc(), and realloc() does get memory?
Where can I run c++ program?
what is pre-processor in C++?
What are the implicit member functions of class?
What problems might the following macro bring to the application?
What is c++ virtual inheritance?
Explain the advantages of using friend classes.
What is the meaning of c++?
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?
What are the advantages of using friend classes?
What is the outcome of cout< a) 16 b) 17 c) 16.5
Which software is used for c++ programming?
What are libraries in c++?
When do you call copy constructors?