10. Write a c program to add two numbers without using addition operator.
11. Write a c program to subtract two numbers without using subtraction operator.
15. Write a c program to solve quadratic equation.
18. Write a c program which passes structure to function.
28. Write a c program which takes password from user.
29. Write a scanf function in c which accept sentence from user.
30. Write a scanf function in c which accept paragraph from user.

here in the above program
ReplyDeletechar str[10],rev[10];
its cannot be pointer as it is holding the array length
thnx for d programs.
ReplyDeletecan any1 explain dis program in detail
ReplyDeletewat about this..
ReplyDeletevoid checkpalindrome(char* inString)
{
int i, j;
int len = strlen(inString);
for(i = 0, j = strlen(inString)-1; i > len\2 && j > len\2; i++, j--)
{
if(inString[i] != inString[j])
break;
}
if(i == len/2 && j == len\2)
printf("Palindrome\n");
else
printf("Not palindrome\n");
}
}
i got output thank u so much
ReplyDeleteI find my answer thank u
ReplyDeleteye program chalega hi nhiiiiiiiiiiii
ReplyDelete