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
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
Which ide is best for c++?
Is java based off c++?
When is the destructor called?
Why do we need function?
What is class invariant in c++?
Define stacks. Provide an example where they are useful.
Is c++ a difficult language?
Is it possible to use a new for the reallocation of pointers ?
Explain the register storage classes in c++.
If a function doesn’t return a value, how do you declare the function?
Why can’t you call invariants() as the first line of your constructor?
What is an adaptor class in c++?
I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?
What is an html tag?