Upload
api-26041653
View
106
Download
3
Embed Size (px)
Citation preview
‘C’ Questions.
1. Write a ‘C’ program to find factorial using recursion.2. Write a ‘C’ program to print Fibonacci series using recursion.3. Write a ‘C’ program using functions to perform binary search.4. Write a ‘C’ program using functions to perform linear search.5. Write a ‘C’ program using functions to perform bubble sort6. Write a ‘C’ program using functions to reverse the elements of an array.7. Write a ‘C’ program using functions to find sum of the elements of the array.8. Write a ‘C’ program using functions to swap two values.9. Write a ‘C’ program using functions to sequential search.10. Write a ‘C’ program using pointers to swap two values.11. Write a ‘C’ program using pointers to print the elements of a array.12. Write a ‘C’ program using pointers to reverse the elements of a array.13. Write a ‘C’ program using pointers to sum the elements of a array.14.Write a ‘C’ program to create and display the elements of a linked list.15. Write a ‘C’ program to insert the elements into a linked list.16.Write a ‘C’ program to delete the elements into a linked list.17.Write a ‘C’ program to print the following pattern *
* ** * ** * * ** * * * *
18.Write a ‘C’ to check whether the given year is leap year or not.19. Write a ‘C’ program to generate prime number series.20. Write a ‘C’ program to check whether the number is prime number or not.21. Write a ‘C’ program to print the following pattern 1
234566789
22. Write a ‘C’ program to check for Armstrong number.23. Write a ‘C’ program to find sum of digits of a number.24. Write a ‘C’ program to print the sum of first 20 odd and even numbers25. Write a ‘C’ program to check for palindrome number.