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 |
What is indirection?
What is malloc return c?
Write a program to check palindrome number in c programming?
What is a symbolic constant?
Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d
What is a pointer and how it is initialized?
which one low Priority in c? a)=,b)++,c)==,d)+
What are the benefits of c language?
to find the closest pair
How can this be legal c?
IS it possible to define a zero sized array in c.if it is possible how can the elements of that array can be accessed.array index starts from zero,if it is possible to define zero sized array how can be its first element can be accesseed.
two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one executes fast.