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
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
What do you mean by dynamic memory allocation in c?
Explain what is the heap?
Do you know the difference between malloc() and calloc() function?
How can you convert integers to binary or hexadecimal?
What is the difference between a free-standing and a hosted environment?
Explain modulus operator.
What is the mean of function?
Does c have class?
what is reason of your company position's in india no. 1.
How to find a missed value, if you want to store 100 values in a 99 sized array?
How many types of arrays are there in c?
What is an operator?
What is anagram in c?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion