CodeYantra
NEWC Practical File cover
C PROGRAMMING · PRACTICAL

C Practical File

30 programs with output. Handwritten notebook style, simple English, exam oriented. Free to read online on any phone or laptop.

66pages
30programs
reads
Read Notes free

What's inside

  1. Print Hello, World! and your details
  2. Arithmetic operations on two numbers
  3. Area and circumference of a circle
  4. Swap two numbers (with and without a third variable)
  5. Calculate simple interest
  6. Convert Celsius to Fahrenheit
  7. Check whether a number is even or odd
  8. Largest of three numbers
  9. Check whether a year is a leap year
  10. Grade from marks using an else-if ladder
  11. Simple calculator using switch
  12. Vowel or consonant using switch
  13. Sum of first n natural numbers
  14. Multiplication table of a number
  15. Factorial of a number using a loop
  16. Fibonacci series up to n terms
  17. Reverse a number and check palindrome
  18. Check an Armstrong number
  19. Check whether a number is prime
  20. Pyramid star pattern using nested loops
  21. Largest and smallest element in an array
  22. Sort an array using bubble sort
  23. Binary search on a sorted array
  24. Matrix addition using 2-D arrays
  25. String length and reverse without library functions
  26. Count vowels, consonants and words in a line
  27. Factorial using recursion
  28. Swap two numbers using pointers (call by reference)
  29. Student records using an array of structures
  30. Write to a file and read it back

More free notes

Get new notes first

One email when a new book drops. No spam, unsubscribe any time.

Want more notes like these?

Follow @codeyantra on Instagram. New notes, practical files and reels every week — DM us the subject you want next.