Tuesday, 8 January 2013

C program examples with output

C program examples with output 

C frequently asked program examples and output
1
Write a c program which takes password from user.
Code
2
Write a simple code for linear search in c programming language.
Code
3

Bubble sort using c program.

Code
4

Write a c program to find out the sum of series 1 + 2 + …. + n.

Code
5
C program to reverse a number using recursion.
Code
6
C program to reverse a number using for loop.
Code
7
Program for find out the sum of digits in c using recursion.
Code
8
Sum of digits of a number in c using for loop.
Code
9
Count the digits of a given number in c language using recursion.
Code
10
C code to count the total number of digit using for loop.
Code
11
How do you write a program which produces its own source code as its output in c language?
Code
12
Multiplication tables by c program.
Code
13

Program in c to print 1 to 100 without using loop.

Code
14

C program to convert decimal to roman number.

Code
15

C program for addition of binary numbers

Code
16
C program c program to convert binary to octal.
Code
17
C program to extract last two digits of a given year and print it.
Code
18
Code to find the ASCII values of given character in c.
Code
19

Write a scanf function in c which accept paragraph from user.

Code
20

Write a c program to find the area of a triangle.

Code

 

No comments:

Post a Comment