Thursday, March 3, 2011

C Programs

Some C programs for the preparation of the interview.....

1. WAP to find the factorial of a no. (with & without recursion).
2. WAP to check whether a no. is armstrong.
3. WAP to create the fibonacci series upto n terms.
4. WAP to print a string in reverse.
5. WAP to check whether a no. is prime.
6. WAP to scroll your name on the screen from left to right.
7. WAP to revers a link list.
8. WAP to delete the first element of the link list.
9.WAP to print the following output.
*
***
*****
*******
10.WAP to check whether a string is palindrome.

No comments:

Post a Comment