CCP



Computer concepts :

Part A :-   Download


C Programming :

Text book - ANSI C by Balaguruswamy - Click here to view

Simple C programs  :  Download

List of C programs contained:


  • Arithmetic Operations                                                             
  • To check if given number is even or odd 
  • To check if two numbers are equal 
  • Biggest of three numbers 
  • Area of circle
  • Factorial
  • Multiplication table 
  • Simple interest
  • Swapping two numbers using third variable 
  • To determine the Grades of a student
  • To Find GCD and LCM of two numbers 
  • Sum of N natural numbers 
  • Fibonacci series 
  • Conversion of decimal to binary 
  • Sum of squares of N natural numbers 
  • To reverse a number and check if it is a palindrome
  • To find the roots of quadratic equation 


Arrays 1 :  Download

List of C programs contained :

  • Bubble sort
  • Sum and average of an array
  • Finding the largest and Second largest element in a given array
  • Largest 2 numbers 
  • Insertion sort
  • Linear search
  • Binary search
  • Selection sort


Arrays 2 (Matrices) :  Download 

List of C programs contained:

  • Accept and display values of array
  • Trace the sum of diagonal elements of the matrix
  • Check if two matrices are equal
  • Product of two matrices
  • Sum and differences of matrices
  • Transpose of given matrix
  • Sum of elements of each row and column
  • Sum of first and last row of the matrix

Pointers : Download

List of C programs contained:



  • Pointer initialization
  • To modify content of a variable
  • To add two values using pointer variable

Structures:  Download

List of C programs contained:


  • Initialization of structure
  • Array of structures

Strings:  Download  


List of C programs contained:

  • Basic string program
  • Accept and display the string
  • Display string character by character 
  • String functions

Functions:  Download

List of C programs contained:

  • Program to demonstrate function
  • Accept value and print
  • Program to return a value
  • Calculate sum
  • Sum of first 'n' natural numbers using functions
  • Passing an array to the function