- Write a C program to print Hello World message on screen.
- Write a C program to input an integer, float and character and print it on screen.
- Write a C program to input two integers and perform various arithmetic operations on two numbers.
- Write a program to print the sizes of different data types.
- Write a program to find the sum of two numbers.
- Write a program to find the ASCII value of a character.
- Write a program to find the quotient and remainder of a number.
- Write a C program to convert and print temperature given in Fahrenheit into centigrade. Using the formula = 5*(F-32)/9.
- Write a C program to convert and print temperature given in Celsius to Fahrenheit. Using the formula: F=9/5*C+32.
- Write a C program to input princ1ple amount, rate of interest and time period and calculate the simple interest
- Write a C program to input the radius of circle and calculate area and circumference of a circle.
- Write a C program to calculate area of a right angle triangle.
- Write a program to calculate area of a triangle given its three sides.
- Write a program to find the area of a rhombus given its diagonals.
- Write a program to find the area of a parallelogram given its base and height.
- Write a program to find the volume of a cylinder.
- Write a C program to swap the value of two variables using third variable.
- Write a C program to swap the value of two variables without using third variable.
- Write a program to find the volume of a cone given its base radius and height of the cone.
- Write a program to find the volume of sphere.
- Write program to find the volume of cuboid.
- Write a program to find the volume of a cube.
- Write a program to check whether no is positive or not.
- Write a program to check whether a number is even or odd.
- Write a program to check whether a character is vowel or not.
- Write a C program to calculate all roots of the quadratic equation: ax + bx + c = 0
- Write a C program to find greater of two numbers.
- Write a C program to input three numbers and print smallest and largest.
- Write a C program to check whether a person is eligible to vote or not.
- Write a C program to find whether a given number is divisible by another number or not.
- Write a C program to generate table of input number.
- Write a C program to find factorial of a given number.
- Write a C program to reverse the digits of a given integer number.
- Write a C program to find the sum of digits of a positive integer.
- Write a C program to find Armstrong number.
- Write a C program to find whether a given number is prime or no.
- WAP to find whether a give year is leap or not.
- WAP to find the smallest divisor of an integer.
- WAP to Find the Greatest common divisor (gcd) of two integers.
- Write a program to find the LCM of two numbers.
- WAP to compute the prime factors of an integer.
- Write a program to check whether a number is palindrome or not.
- WAP to raise a number to a given power without using power function.
- Write a program to print the following pattern:
1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
- Write a C program to print the following pattern:
*
* *
* * *
* * * *
* * * * *
- Write a C program to find sum of following series: 1 + 2 + 3 + 4 + ...n up to n terms
- Write a program to find the sum of the series: 1 + 3 + 5+ ... up to n terms
- Write a program to find the sum of he series: (1) + (1+2) + (1+2+3) +... up to n terms
- Write a program to find the sum of the sine(x) series.
- Write a program to find a program to check whether a given number is even or odd using switch case
- Write a C program to design an arithmetic calculator using switch case statement.
- Write a C program using menu driven function to show matrix addition, subtraction & multiplication.
- Write a program to print the diagonal elements in a matrix.
- Write a program to print the upper triangular matrix.
- Write a program to print the transpose of a matrix.
- Write a program to print the sum of the elements of the matrix.
- Write a program to read and display a 3D matrix.
- Write a C program to print the Fibonacci series using recursion.
- Write a C program to calculate the factorial of a number using recursion.
- Write a program to swap to numbers using function to demonstrate pass by address.
- Write a C program to declare an integer variable, a pointer and a pointer-to-pointer. Print the value of variable using pointer and pointer-to-pointer.
- Write a C program to perform following operation on an array of S elements using pointer:
- Sum
- Average
- Search a Specific element
- Sort array elements
- Write a program to perform following operation on a string using pointer:
- find length of a string
- search specific character in the string
- count vowels in the string
- Write a program to input elements in a wo dimensional array using pointer.
- Write a c program to declare a structure student with elements name, roll no., age and marks of five subjects. Input the values and display the average marks.
- Write a c program to declare a structure complex with elements real and imaginary and add two complex numbers.
- Write ac program to declare a structure student with elements name, roll no and age. Input the details of 10 students in an array of structure and find out how many students are above 18 years.
- Write a C program to declare a distance structure with elements feet and inches. Input two distances and find the sum of these two distances.
- Write a program to declare a self-referential structure and illustrate its use.
- Write a program to write content to a file and read from the file and display it on the screen.
- Write a program to append content to a existing file.
- Write a program to count numbers of characters and number of lines in a file.
- Write a program to illustrate the use of
fseek(),ftell()andrewind()function. - Write a program to copy content of one file into another file.