Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
28 views3 pages

C Basic Programs

List of C programs

Uploaded by

ascentrdgarg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views3 pages

C Basic Programs

List of C programs

Uploaded by

ascentrdgarg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Start with Basic Programs

 Hello World
 Taking Input from User
 Find ASCII Value of Character
 Using gets() function
 If-Else
 Switch Case
 Checking for Vowel
 Reversing Case of Character
 Swapping Two Numbers
 Largest and Smallest using Global Declaration

Loops
 Basic for Loop
 Basic while Loop
 Basic do-while Loop
 Nested for Loops
 Program to find Factorial of number
 Fibonacci Series Program
 Palindrome Program
 Program to find Sum of Digits
 Program to reverse a String

Number Crunching
 Program to find Average of n Numbers
 Armstrong Number
 Checking input number for Odd or Even
 Print Factors of a Number
 Find sum of n Numbers
 Print first n Prime Numbers
 Find Largest among n Numbers
 Exponential without pow() method
 Find whether number is int or float
 Print Multiplication Table of input Number

Concept of Arrays
 Reverse an Array
 Insert Element to Array
 Delete Element from Array
 Largest and Smallest Element in Array
 Sum of N Numbers using Arrays
 Sort Array Elements
 Remove Duplicate Elements
 Sparse Matrix
 Square Matrix
 Determinant of 2x2 matrix
 Normal and Trace of Square Matrix
 Addition and Subtraction of Matrices
 Matrix Mulitplication

Pointers
 Simple Program
 Memory Management
 Array of Pointers
 Pointer Increment and Decrement
 Pointer Comparison
 Pointer to a Pointer
 Concatenate Strings using Pointer
 Reverse a String using Pointer
 Swapping Two Numbers
 Pointer to a Function
 Null Pointer

Concept of Recursion
 Adding Two Numbers
 Factorial
 Fibonacci Series
 Sum of First N Numbers
 Sum of Digits
 Palindrome
 Power of N
 Largest Array Element
 Prime or Composite
 LCM of Two Numbers
 GCD of Two Numbers
 Reverse a String

File And Streams


 List Files in Directory
 Size of File
 Write in File
 Reverse Content of File
 Copy File to Another File

MISCELLANEOUS-1
 Leap Year
 Largest of three numbers
 Second largest among three numbers
 Adding two numbers using pointers
 Area and Circumference of Circle
 Area of Triangle
 Basic Arithmetic Operations
 Conversion between Number System
 Celsius to Fahrenheit
 Simple Interest
 Greatest Common Divisor(GCD)

MISCELLANEOUS-2
 Roots of Quadratic Roots
 Identifying a Perfect Square
 Calculate nPr and nCr
 Windows Shutdown
 Without Main Function
 Menu Driven Program
 Changing Text Background Color
 Current Date and Time

You might also like