General Note
General Knowledge
Basic G. K.
World History
Indian History
Geography
Indian Constitution
Indian Economy
Physics
Chemistry
Biology
Game & Sports
Book & Author
Honours & Award
Computer Tutorial
Basic Computer
Computer Fundamental
Computer Network
C Tutorial
Linux Tutorial
Linux Commands
Programming
C Programming
General English
Descriptive Writing
Comprehension
Vocabulary
Sentence Rearrangement
Word Formation
English Grammar
MCQ
General Knowledge
Computer Engineering
General Aptitude
Verbal and Reasoning
Engineering
Medical Science
English
Home
C Programming
Computer Programming
Basic C-Programming
Program to print“Hello world”
Print Integer Number
Print Name of User
Program Add two Number
Multiply Two Float Number
Find Odd or Even Number
Check Leap Year
Find Quotient & Reminder
Swap Two Number
Greater of three Number
Area of Circle
Volume & S.A. of Cube
Find Simple Intrest
Sum & Avg of 5 Subject Marks
Reverse a Number
Design Control & Looping
Sum of first n Natural No.
Factorial of a Number
Multiplication Table
Display Fibonacci Sequence
GCD of two Numbers
LCM of two Numbers
Number of Digits in Integer
Reverse a Number
Square of a Number
Check Palindrome Number
Check Prime Number
Prime Numbers Between Two Intervals
Check Armstrong Number
Armstrong Number Between Two Intervals
Display Factors of a Number
power of a given number
Roots of a Quadratic equation
Programs on Array
Insert & Display the elements
Calculate Sum & Average
Mean of n numbers
Find largest Number
Position of smallest element
Position of second smallest element
Find the Second Largest & Smallest Elements
Interchange largest & smallest element
Find array of integers containing duplicate elements
Insert an element at given position
Insert a number in an array stored in ascending order
Delete a number from given position
Delete a number from array stored in ascending order
Merge two unsorted array
Merge two sorted array
Insert & Display the element in 2D Array
Add all element of 2D Array
Print Lower Triangle Matrix
Find Transpose of a Matrix
Addition of Two Matrix
Multiplicaiton of Two Matrix
Programs on Pointer
Address of a variable & value
Addition of two number
Swap two numbers
Greatest of three number
Find the area of square
Reverse a number
Display factorial of an integer
Insert and Display element of array
Find the mean of n number
Find the smallest number
Print multiplication table
Pattern Programming
Display Ascending Number Pattern
Display Triangular Star Pattern
Display Triangular Word Pattern
Display Reverse Triangular Word Pattern
» Display Complete Triangular Star Pattern
Display Number Pattern In Diamond Shape
Display Diagonal Number Pattern
Display Number In Incremental Star Pattern
Display Constant Descending Number Pattern
Display Descending Number Pattern
Programs on Function
Find the sum of two number using function
Find the area of circle using function
Find the simple interest using function
Calculate sum of 5 subjects and find percentage using function
Reverse a given number using function
Find Factorial of a Number using function
Display Fibonacci Sequence using function
Display all prime numbers between two Intervals using function
Check Armstrong Number using function
Check whether a number can be expressed as the sum of two prime numbers
Calculate the Sum of Natural Numbers using recursion.
Calculate the factorial of a number using recursion
Find G.C.D using recursion
Reverse a sentence using recursion
Calculate the power of a number using recursion
Convert a binary number to decimal
Convert Decimal to Binary using function
Convert an octal Number to decimal
Convert Decimal to Octal Number
Convert Binary number to Octal
Convert Octal Number to Binary Number
Convert Hexadecimal to Decimal
Convert Decimal to Hexadecimal
Programs on String
Find the length of a String
Concatenate two strings
Copy a String
Reverse a string using recursion
Compare two string
Find the number of vowels consonants digits & white spaces
Find the frequency of a character in a string
Convert an Integer to Character up to 4 digits
Remove all characters in a string except alphabets
Sort elements in the lexicographical order
Convert uppercase string to lowercase string
Convert lowercase string to uppercase string
Find the length of string using strlen() function
Concatenation two string using strcat() function
Appends specified number of characters using strncat() function
Copies one string to another string using strcpy() function
Copies only the specified number of characters using strncpy() function
Searches the occurrence of a specified character using strchr() function
Searches the last occurrence of the specified character using strrchr() function
Searches specified string using strspn() function
Searches the given string using strstr() function
Returns from beginning till the first matched character using strcspn() function
compares two strings using strcmp() function
comparison is limited to the number of characters using strncmp() function
compares two strings and returns an integer number using strcoll() function
Structure & Union
Create, declare and initialize structure
Read and print an employee's detail
Demonstrate Nested Structure
Demonstrate structure pointer
Demonstrate structure pointer using user define function
Declare and initialize an union
Demonstrate structure of array
Add two distances in feet and inches using structure
Extract individual bytes from an unsigned int using union
Passing structures as function arguments and returning a structure from a function
Calculate party expenses using C program
Find the size of the union
Accept & display employee details
Calculate total payment of workers
Calculate total runs scored by cricket team
Calculate age of student at admission time
Print details of customers with less than given account balance
Display details of highest paid employee
Menu driven C program for Library operations
Arrange student record in descending order
Menu driven C program for a book shop
Create student record and display them
Menu driven for an employee
Create a student structure and rearrange the data in alphabetical order
File Handiling
Create open and close a file
Create a File and Store Information
Illustrate Reading of Data from a File
Find number of lines in a file
Write text into file and read character by character
Print contents of file in reverse order
Count No of Lines Blank Lines and Comments
Reverse the Contents of a File and Print it
Capitalize the first letter of every word in a file
Merges Lines Alternatively from two Files
Copy File into Another File
Compare contents of two files
Copy number of bytes of from a specific offset to another file
Remove a specific line from the text file
Replace the specified line in an existing text file
Append the content of one file to the end of another file
Print Environment Variables
Find the Size of File using File Handling Function
Read Content of a File using getc function
Delete a specified file using remove function
Delete a specified file using the system function by passing the rm command
Check a specified file exists or not using the stat function
Check a specified file exists or not using the access function
Create a directory using mkdir function
Create a directory using system function
Remove an empty directory using rmdir function
Rename a file using the rename function
Rename a file using the system function specifying the ren command
change the permissions of file using system function
Remove an empty directory by specifying the rmdir
remove a non-empty directory using rm
Check a given filename is a directory or not
Print the list of files and subdirectories of the current directory
Check a specified directory exists or not
Check a specified file exists or not
Check a specified file has read write and execute permission or not
Create Employee Record and Update it
Additional programs
» Performing Bank Operation
Additional C Programs
C Programming
Additional C Programs
» C Program to performing back operation of 100 user