write a progam to compare the string using switch case?
Answer Posted / kishore kumar naik p
switch(strcmp(str1,str2))
{
case 0: printf("\nBoth are equal"); break;
default:
printf("\nBoth are not equal");
break;
}
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
What do you mean by keywords in c?
Does c have an equivalent to pascals with statement?
Explain goto?
What is the meaning of ?
What is modifier & how many types of modifiers available in c?
What are the c keywords?
What is the difference between typedef and #define?
What is an expression?
Write a program with dynamically allocation of variable.
What is the difference between new and malloc functions?
Is int a keyword in c?
what is the difference between class and unio?
Under what circumstances does a name clash occur?
What is the difference between test design and test case design?