C Programs

Sr. No. Program Title
1 C Program to Display "Hello, World!"
2 C Program to Size of all C Language Data Types
3 C Program to Display the Numbers Entered by User
4 C Program to Print Address of Variables
5 C Program to Display Given Number in Decimal, Octal and Hexadecimal Format
6 C Program to Add Two Numbers
7 C Program to Add Two Integer Numbers Provided by User
8 C Program for Addition and Multiplication of Two Numbers
9 C Program to Print ASCII Value of a Character
10 C Program to Demonstrate the Working of Arithmetic Operators
11 C Program to Swap to Numbers Using Third Variable
12 C Program to Swap to Numbers Without Using Third Variable
13 C Program to Convert Temperature from Celsius to Fahrenheit
14 C Program to Calculate Gross Salary
15 C Program to Convert a Given Number of Days into Months and Days
16 C program to Find area of Circle
17 C Program to Find Area and Perimeter of Sqaure
18 C Program to Find Perimeter and Area of Rectangle
19 C Program to Read a String with Spaces and Display it on Console
20 C Program to Display Array Elements
21 C Program to Perform Array Basic Operations
22 C Program to Search for an Element in Array (Using Linear Search Method)
23 C Program to Sort an Array (Using Bubble Sort Method)
24 C Program to Accept Ten Numbers in Array and Print Average of it.
25 C Program to Calculate Average of Array Elements
26 C Program to Find Highest Marks in an Array
27 C Program to Add Two Matrices Using Multidimensional Arrays
28 C Program to Subtract Two Matrices Using Multidimensional Arrays
29 C Program to Multiply Two Matrices Using Multidimensional Arrays
30 C Program to Copy Array Elements into Other Array
31 C Program to Reverse Array Elements
32 C Program to Find Length of String
33 C Program to Check String is Palindrome or not
34 C Program to Convert String into Lowercase
35 C Program to Convert String into Uppercase
36 C Program to Compare Two Strings
37 C Program to Compare Two Strings Using strcmp() Function
38 C Program to Copy String to New String
39 C Program to Concatenate Two Strings Without Using String Function
40 C Program to Concatenate Two Strings Using String Function strcat()
41 C Program to Print Full Name of User
42 C Program to Sort Strings Lexicographically
43 C Program to Print Largest String Among Two Strings
44 C Program to Print Reverse of String
45 C Program for Largest Among Two Numbers
46 C Program for Largest Among Three Numbers
47 C Program to Check Whether a Number is Positive, Negative or Zero
48 C Program to Check Whether Given Number is Even or Odd
49 C Program to Check a Number is Prime Number or not
50 C Program to Check Whether a Number is Palindrome Number or not
51 C Program to Check Armstrong Number
52 C Program to Check Whether a Year is Leap Year or not
53 C Program to Check User is Eligible for Vote or not
54 C Program to Check Whether a Character is Vowel or Consonant
55 C Program for Menu Driven Even and Positive Number
56 C Program for Menu Driven Leap Year and Sum of Digits
57 C Program to Display Grade of Student
58 C Program to Print Month of Year
59 C Program to Display Season of Given Month
60 C Program for Print Gross Salary of Employee
61 C Program to Display the Average Marks and Grade of Student
62 C Program to Convert Lowercase Character to Uppercase
63 C Program to Print "Programming in C" Upto N Times
64 C Program to Print Alphabets from A to Z
65 C Program to Find Factorial of a Number
66 C Program to Display Fibonacci Series
67 C Program to Display Reverse of Given Number
68 C Program to Print Prime Numbers Upto N
69 C Program to Find Sum of Digits of a Given Number
70 C Program to Count the Number of Digits in a Given Number
71 C Program to Print Table of a Given Number
72 C Program to Print Table 1 to 10 Numbers
73 C Program to Find Sum of Natural Numbers
74 C Program to Print Even Numbers from 1 to N
75 C Program to Print Sum of Odd Numbers between 1 to 100
76 C Program to Find Multiplication of First Seven Numbers
77 C Program to Convert Decimal Number to Binary
78 C Program to Convert Binary Number to Decimal
79 C Program to Convert Octal Number to Decimal
80 C Program to Convert Decimal Number to Octal
81 C Program to Find Cube of a Number N Time (goto statement)
82 C Program to Read a Valid Number (goto statement)
83 C Program to Print Diagonal Star Pattern
84 C Program to Print Inverted Diagonal Star Pattern
85 C Program to Print Cross Star Pattern
86 C Program to Print Half Star Pyramid
87 C Program to Print Inverted Half Star Pyramid
88 C Program to Print Diamond Star Pyramid
89 C Program to Print Floyd's Triangle
90 C Program to Print Half Pyramid of Numbers
91 C Program to Print Half Pyramid of Numbers
92 C Program to Print Inverted Half Number Pyramid
93 C Program to Print Inverted Number Pattern
94 C Program to Print Full Number Pyramid
95 C Program to Print Full Number Pyramid
96 C Program for Menu Driven Pattern Program
97 C Program to Display "C Programing" Pyramid
98 C Program to Display User Provided String Pyramid
99 C Program to Check Whether a String is Palindrome or not
100 C Program to Add Two Numbers Using Function
101 C Program to Display Arithmetic Operations Using Function
102 C Program to Swap Two Variables Using Call by Value
103 C Program to Find Product of Numbers Using Function
104 C Program to Find Cube of a Number Using Function
105 C Program to Calculate nth Power of a Number Using Function
106 C Program to Find Nth Power Using Function
107 C Program to Find Factorial of a Number Using Function
108 C Program to Display Fibonacci Series Using Function
109 C Program to Find Largest Number in an Array
110 C Program to Find Area of Circle Using Function
111 C Program to Find Diameter, Circumference and Area of Circle Using Function
112 C Program to Swap Two Numbers Using Call by Reference
113 C Program to Find Factorial of a Number Using Recursion
114 C Program to Display Fibonacci Series Using Recursion
115 C Program to Print Reverse of String Using Recursion
116 C Program to Print Address of Pointers
117 C Program to Add Two Numbers Using Pointers
118 C Program to Perform Arithmetic Operations Using Pointers
119 C Program to Swap Two Numbers Using Pointers
120 C Program to Find Product of Numbers Using Pointers
121 C Program to Print Fibonacci Series Using Pointers
122 C Program to Print Length of String Using Pointers
123 C Program to Find String Length Using Pointers
124 C Program to Count String Length Using Pointers
125 C Program to Display Array of Pointers
126 C Program to Display Array Elements Using Pointer to Array
127 C Program to Find Sum of Elements Stored in Given Array Using Pointers
128 C Program to Demonstrate Pointers to Functions
129 C Program to Sort Students Using Pointers
130 C Program to Read and Display Data Using Structures
131 C Program to Display the Details of Book Using Structure
132 C Program to Display the Details of Employee Using Structure
133 C Program to Display the Details of Employee Using Array of Structure
134 C Program to Display the Details of Student Using Structure
135 C Program to Display the Details of Library Using Structure
136 C Program to Print Sum of Distances Using Structure
137 C Program to Display Customer Details in Hotel Using Structue
138 C Program to Demonstrate Use of Arrow (->) Operator
139 C Program to Sort Students
140 C Program to Demonstrate Working of "enum"

Comments

Popular posts from this blog

Program to define a class 'employee' with data members as empid, name and salary. Accept data for 5 objects using Array of objects and print it.

Define a class Student with four data members such as name, roll no.,sub1, and sub2. Define appropriate methods to initialize and display the values of data members. Also calculate total marks and percentage scored by student.