Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5947


What do you mean by keywords in c?

1143


Does c have an equivalent to pascals with statement?

995


Explain goto?

1150


What is the meaning of ?

1034


What is modifier & how many types of modifiers available in c?

1026


What are the c keywords?

1203


What is the difference between typedef and #define?

1051


What is an expression?

1051


Write a program with dynamically allocation of variable.

1119


What is the difference between new and malloc functions?

1120


Is int a keyword in c?

975


what is the difference between class and unio?

2360


Under what circumstances does a name clash occur?

1199


What is the difference between test design and test case design?

2086