Sample C Programs (46 Nos) BASIC Programs List

Achievements@Dhvani Computer Classes:

  1. Write a program in C to display the message ?
  2. Write a program in C to read and print an given character & an given integer ?
  3. Write a program in C to Arithmatic operations of two integer numbers .Print these results in separate lines ?
  4. Write a program in C to check whether the given number even or odd ?
  5. Write a program in C to check whether the given number positive ,negative or zero?
  6. Write a program in C to check whether the given year is leap or not ?
  7. Write a program in C for relations operations of two given integer numbers ?
  8. Write a program in C for given mark contain which grade ?
  9. Write a program in C to find biggest of two given numbers ?
  10. Write a program in C to find biggest of three given numbers using && operator ?
  11. Write a program in C to find a vowel or not of given character ?
  12. Write a program in C to find smallest of three numbers using ternary operator ?
  13. Write a program in C to sum of first 100 numbers ?
  14. Write a program in C to sum of M to N numbers ?
  15. Write a program in C to display the even or odd numbers between to ranges ?
  16. Write a program in C to find biggest of N numbers ?
  17. Write a program in C to print the numbers 1 to 100 ?
  18. Write a program in C to find the average of 1 to 100 ?
  19. Write a program in C to display the even or odd numbers of first N numbers ?
  20. Write a program in C to count the number of characters ,words and lines ?
  21. Write a program in C to copy one array to another array ?
  22. Write a program in C to merge to arrays ?
  23. Write a program in C to print even or odd the given range ?
  24. Write a program in C to find leap or not ?
  25. Write a program in C to find the biggest of three numbes using structure ?
  26. Write a program in C to distance between two points ?
  27. Write a program in C to sum of first 100 numbers ?
  28. Write a program in C to find the second biggest of N numbers using array ?
  29. Write a program in C to read and display the transpose of 3x3 matrix ?
  30. Write a program in C to find the average of N numbers ?
  31. Write a program in C to read and display a 3 x 3 Matrix ?
  32. Write a program in C to print the product of two M x N Matrix ?
  33. Write a program in C to find the length of given text or array ?
  34. Write a program in C to read and store the bio-data into file ?
  35. Write a program in C to display the text form file ?
  36. Write a program in C to read the biodata from file using command line arguments ?
  37. Write a program in C to display the text from file using command line arguments(cat command in unix) ?
  38. Write a program in C to merge two files ?
  39. Write a program in C to read the bio-data from file and print it to the screen ?
  40. Write a program in C to read and display integer, float, char, double number ?
  41. Write a program in C to sum of two integer numbers ?
  42. Write a program in C to read and display text using dynamic allocation ?
  43. Write a program in C to copy one array to another array ?
  44. Write a program in C to read and display integer array using functions ?
  45. Write a program in C to read and display a 3 x 3 Matrix ?
  46. Write a program in C to print the sum of two M x N Matrix ?