C programming Basic Input, Output, if else, Ternary Operator based Programs.

In this section, there are unique and logical programs available on Basic Input Output, If else, Conditional Statement (Ternary Operator) based programs. These programs are starts from very basic level to high level. Each program contains source codes, output and explanation of the logic.

List of C programming Basic Input, Output, if else, Ternary Operator based Programs.


Sponsored Links

  1. Program to print "Hello World!" / First C program.
  2. Program to find sum and average of two numbers.
  3. Program to calculate simple interest.
  4. Program to check whether number is EVEN or ODD.
  5. Program to find largest number among three numbers.
  6. Program to find gross salary of an employee.
  7. Program to convert temperature from Fahrenheit to Celsius and vice versa.
  8. Program to calculate X^N (X to the power of N) using pow function.
  9. Program to find the difference of two numbers.
  10. Program to print size of variables using sizeof() operator.
  11. Program to demonstrate examples of escape sequences.
  12. Program to find area and perimeter of circle.
  13. Program to find area of a rectangle.
  14. Program to calculate HCF of two numbers.
  15. Program to multiply two numbers using plus operator.
  16. Program to demonstrate example of global and local scope.
  17. Program to demonstrate example of floor and ceil functions.
  18. C program to read Formatted Time Once through Scanf in C Language.
  19. C program to define, modify and access a global variable.
  20. C program to convert feet to inches.
  21. C program to print value in Decimal, Octal, Hexadecimal using printf.
  22. C program to print ASCII value of entered character.
  23. C program to print How Many Inputs are taken from Keyboard using Scanf?
  24. C Program to calculate Employee and Employer Provident Fund.
  25. C program to set buffer with specific value using memset in C - Example of memset().