Simple C Programs
This section covers simple C language programs. All the example program includes the description of the program, C code as well as output of the program.
List of programs
- C program to calculate and print sum of two number
- C Program to calculate and print product of three numbers
- C Program to take input for a number calculate and print its square and cube
- C program to take input for two numbers calculate and print their sum , product and difference
If Condition Programs
This section covers programs based on if condition. Here we have program realetd to all the syntaxes used for if condition. For all the program we have given proper description, code and output that we get on execution of the program.
List of programs are :
- C Program to check and print whether the number is +ve or not
- C Program to check and print whether the number is -ve or not
- C program to check and print whether the number is even or not
- C program to check and print whether the number is odd or not
Loop Based Programs (Programs related to for loop, while loop, do while loop)
C program to check the number is a prime number or not.
C program to print sum of the digits of the number
C program to print the reverse of a number.
C program to check number is palindrome or not.
Pattern Programing
Conversion Programs
C Program to convert decimal to Binary
C Program to convert binary to decimal
C Program to convert decimal to Octal
C Program to convert Octal to decimal
C Program to convert decimal to hexadecimal
C Program to convert hexadecimal to decimal
More Conversion Programs
Arrays based programs
Single dimension numeric array
double dimesion numberic array
single dimension character array
double dimension character array
Programming Solutions @ rajeshshukla
Tutorials | Technical Questions | Interview Questions |
---|---|---|
C Programming C++ Programming Class 11 (Python) Class 12 (Python) |
C Language C++ Programming Python |
C Interview Questions C++ Interview Questions C Programs C++ Programs |