Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

write a progam to compare the string using switch case?

write a progam to compare the string using switch case?..

Answer / kishore kumar naik p

case 0: printf("\nBoth are equal"); break;
printf("\nBoth are not equal");

Is This Answer Correct ?    4 Yes 2 No

Post New Answer

More C Interview Questions

Can you assign a different address to an array tag?

0 Answers  

main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }

4 Answers   Vector,

Magic square

0 Answers  

In the below code, how do you modify the value 'a' and print in the function. You'll be allowed to add code only inside the called function. main() { int a=5; function(); // no parameters should be passed } function() { /* add code here to modify the value of and print here */ }

1 Answers  

how can i sort numbers from ascending order and descending order using turbo c..

1 Answers  

Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

5 Answers   TCS, Vimukti Technologies,

What is the difference between malloc() and calloc()?

0 Answers  

wat is the meaning of c?

9 Answers   CTS, IBM, Wipro,

How many header files are in c?

0 Answers  

Why isnt there a numbered, multi-level break statement to break out

0 Answers  

change to postfix a/(b+c*d-e)

8 Answers   Value Labs,

Write a program to print a (*)pattern programming (A to Z) in capital in one programming ?

2 Answers   TCS,