If you liked the post, Share on Facebook, Tweet and Google Plus (use buttons above). You can also Subscribe to our feed via Email for free.
Home » Programming » 45 C Language Programs List for Exam Preparation
45 C Language Programs List for Exam Preparation
Posted by
Akash
on 30 January 2011
These are the programs which are very likely to come in practical examinations. This a very useful list of C language program examples for practice(Exam Preparation) as it covers most of the C language syllabus. Its very helpful for students pursuing BCA, MCA, MSC(IT), CE, Computer Science, B.Tech(IT) etc.
See code of the c programs given below. Although it is not given with output, you can check the program's output by compiling it.
You might also like Shell Script examples.
This is a collection of 45 questions of C Programs which can most probably come in exams.
- Program to find area and circumference of circle.
- Program to find the simple interest.
- Program to convert temperature from degree centigrade to Fahrenheit.
- Program to calculate sum of 5 subjects & find percentage.
- Program to show swap of two no’s without using third variable.
- Program to reverse a given number.
- Program to find gross salary.
- Program to print a table of any number.
- Program to find greatest in 3 numbers.
- Program to show the use of conditional operator.
- Program to find that entered year is leap year or not.
- Program to find whether given no is even or odd.
- Program to shift inputed data by two bits to the left.
- Program to use switch statement. Display Monday to Sunday.
- Program to display arithmetic operator using switch case.
- Program to display first 10 natural no & their sum.
- Program to print stars Sequence1.
*
**
***
****
*****
*
***
*****
**
***
****
*****
- Program to print stars Sequence2.
*
**
***
****
*****
***
****
*****
- Program to print star Sequences3.
***
*****
- Program to print Fibonacci series up to 100.
- Program to find factorial of a number.
- Program to find whether given no is a prime no or not.
- Program to display sum of series 1+1/2+1/3+……….+1/n.
- Program to display series and find sum of 1+3+5+……..+n.
- Program to use bitwise AND operator between the two integers.
- Program to add two number using pointer.
- Program to show sum of 10 elements of array & show the average.
- Program to find the maximum no in an array.
- Program to display matrix.
- Program to find sum of two matrices.
- Program to find subtraction of two matrices.
- Program to find multiplication of two matrices.
- Program to find transpose of a matrix.
- Program to find the maximum number in array using pointer.
- Program to reverse a number using pointer.
- Program to show input and output of a string.
- Program to find square of a number using functions.
- Program to swap two numbers using functions.
- Program to find factorial of a number using functions.
- Program to show table of a number using functions.
- Program to show call by value.
- Program to show call by reference.
- Program to find largest of two numbers using functions.
- Program to find factorial of a number using recursion.
- Program to find whether a string is palindrome or not.
3 comments:
main()
{
int i;
for (i=1;i<=45;i++)
printf("%d",i);
}
@sid Lol very funny..
u can find many of this programs..
www.mycfiles.com
Post a Comment