write a progam to compare the string using switch case?
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 |
Why is c so important?
who is the father of C Language?
20 Answers CTS, UST,
int *p=20; if u print like dis printf("%d",p); o\p:- 20; how is it possible? plz give me the explanation.
What is ## preprocessor operator in c?
What is the difference between volatile and const volatile?
What are the 5 types of inheritance in c ++?
Why is c called "mother" language?
swap two integer variables without using a third temporary variable?
Explain the differences between public, protected, private and internal.
n=7623 { temp=n/10; result=temp*10+ result; n=n/10 }
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
#include<stdio.h> main() {int i=1;j=1; for(;;) {if(i>5) break; else j+=1; printf("\n%d",j) i+=j; } }