Contains all contents related to C
Programming. You can find almost all kinds of basics C Programs. I
recommend this site to all who wants to learn C Programming as its one
of the best C tutorial which I found.
- Download Turbo C Compiler
- Learn C
- C Turbo Compiler
- Fundamentals
- Control Strunctures
- Functions
- Array
- String
- Storage Classes
- Pointers
- Structures
- Union
- File Handling
- C Programs
CONTENTS
- C Fundamentals
- Control Structures
- Patterns
- Functions
- Recursion
- Arrays
- String
- Pointers
- Dynamic Memory Allocation
C FUNDAMENTALS
- A simple program for printing a line of text
- Program to input integer number and display it
- Program to add, subtract, multiply and divide two numbers
- Program to subtract two numbers without using arithmetic operator ( - )
- Program to find greatest between three numbers using conditional operator ( ? : )
- Program to find the average of three numbers with input values as integer and output value (avg) as float
- Program to find the area of a right angled triangle based on base and height values
- Program to find or obtain the sum of square of two floating point numbers
- Program to find the simple interest an total amount based on interest
- Program to enter 10 digit number and displaying it in the given format where first 3 digit refer to area code, next three digit to exchange code and remaining to number
- Program to input a number and find whether it is even or odd
- Program to find biggest of four no by using ternary numbers
- Program to print smallest of four no by using ternary operators
- Program to accept a year and check the given year is leap or not by using ternary
- Program to find area of a triangle when there sides are given
CONTROL STRUCTURES
- Program to multiply 2 number without using * operator
- Program to determine Armstrong number
- Program to input time in seconds and convert them into hours and seconds and display it
- Program to determine Palindrome number
- Program showing the use of 'goto' statement
- Program for finding the factorial of a number
- Program to find whether the entered character is vowel or not using if else
- Program to find whether the entered character is vowel or not using switch case
- Program to print the table of a given number till the user wishes
- Program to sum up all the integer numbers input at run time until zero is entered
- Program to find whether a given number is Prime or Not
- Program to print ( list ) all the prime number between 1 to n
- Program to print (list) Palindrome number from 10 to n
- Program to print (list) Armstrong Number between two given numbers
- Program to print the factor of a given number
- Program to print the fibonacii series till which user wishes
- Program to determine whether entered character is capital case letter, small case letter, a digit or a special symbol
- Program to find whether a number is Perfect Square or Not
- Program to print (list) Perfect Square Number between any two number
- Program for Bank account Handling
- Program to award Grades
- Grade Program without using if-else statement
- Program to calculate the sum of individual digits of a number
- Program to determine whether a given year is leap year or not
- Program to encode and decode ( cipher )
PATTERNS
- Program to print the given pattern :** ** * ** * * ** * * * *
- Program to print the given pattern :** ** * ** * * ** * * * ** * * * * * ..... till n rows
- Program to print the given pattern :11 21 2 31 2 3 41 2 3 4 5 .... till n rows
- Program to print the given pattern :12 23 3 34 4 4 45 5 5 5 5 .... till n rows
- Program to print the given pattern :1 1 1 1 12 2 2 2 23 3 3 3 34 4 4 4 45 5 5 5 5
- Program to print the given pattern :55 45 4 35 4 3 25 4 3 2 1
- Program to print the given pattern :1 2 3 4 51 2 3 41 2 31 21
- Program to print the given pattern :5 4 3 2 15 4 3 25 4 35 45
- Program to print the given pattern :
* * * * * * * * * * * * * * *
- Program to print the given pattern :
1 1 2 1 2 3 1 2 3 4 1 2 3 4 5
- Program to print the given pattern :
5 4 5 3 4 5 2 3 4 5 1 2 3 4 5
- Program to print the given pattern :1* *1 2 3* * * *1 2 3 4 5 .... till n rows
- Program to print the given pattern :
1 1 1 2 1 2 1 2 3 1 2 3 1 2 3 4 1 2 3 4 1 2 3 4 5 1 2 3 4 5
- Program to print the given pattern :
1 1 1 2 2 1 1 2 3 3 2 1 1 2 3 4 4 3 2 1 1 2 3 4 5 5 4 3 2 1
- Program to print the given pattern :
1 5 1 2 5 4 1 2 3 5 4 3 1 2 3 4 5 4 3 2 1 2 3 4 5 5 4 3 2 1
- Program to print the given pattern :12 63 7 104 8 11 135 9 12 14 15 ... till n rows
- Program to print the given pattern :
******** ******** ******* ******* ****** ****** ***** ***** **** **** *** *** ** ** * * * * ** ** *** *** **** **** ***** ***** ****** ****** ******* ******* ******** ********
- Program to print the given pattern
* *** ***** ******* ********* ******* ***** *** *
- Program to print the given pattern :8 4 2 14 2 12 11
- Program to print Pascal triangle :
FUNCTIONS
- Program to find sum of two numbers using function sum(int,int) that returns sum value
- Program to print the area of a rectangle
- Program to find the factorial of two numbers and add them and print the result
- Program to implement functions that returns HCF OR GCD and LCM of two numbers
- Write a function that receives a positive integer as input and returns the leading digit in its decimal representation
- Implement a function that receives an integer value and returns the number of prime factors of that number. If the number is itself a prime number then return 0
- Program to find maximum number between three numbers
- Program to accept a number and print the sum of given and Reverse number using function
RECURSION
- Program to find the factorial of a Number using recursion
- Program to print sum of n natural numbers from 1 to n ( Number ) using recursion
- Program to calculate the power using recursion. Example a^b ( Here ^ = Power sign )
- Program to find the GCD ( Greatest Common Divisior ) or HCD ( Highes Common Factor ) using recursion
- Program to Reverse a Number using recursion
- Program to find whether a number is Palindrome or not using recursion
- Program to find whether a number is Armstrong or not using recursion
- Program to print the fibonacci series upto nth terms using recursion
- Program to print first "n" natural numbers in reverse order
- Program to print patter :** ** * ** * * ** * * * *
- Program to print given pattern : ** ** * ** * * ** * * * * till n terms
- Program to accept elements in an array and display it
- Program to accept elements in an array and display sum of all the elements
- Program to insert element in between an array. ( INSERTION )
- Program to delete element from an array. ( DELETION )
- Program to perform Transpose of a Matrix
- Program to find Minimum element in an array
- Program to find highest minimum temperature and lowest maximum temperature
- Program to accept 10 numbers and print first five numbers in original order and print last five numbers in reverse order
- Program showing Passing array to function. Program finds the average of 5 marks input by user
- Program to initialize a character array and display the initialized character array in reverse order
- Program to generate histogram of entered number
- Program to enter values into a two-dimensional integer array of size (4 X 3) and then display it in matrix form
- Write a program to enter values into a two-dimensional integer array of size (4 X 3) and then display the elements of the second row
- Program to find the sum of elements that are greater than 5 within a two-dimensional array through a function receiving the array as arguments
- Program To Accept 5 Student - Roll No, Marks in 3 Subjects of each student and Calculate Total, Average and Print it along with student roll Number
- Programs to multiply two Matrices
- Program to print a diagonal matrix with diagonal value enter by user
- Program to print a anti diagonal matrix with diagonal value enter by user
- Program to print the sum of diagonal values and anti-diagonal values of a matrix
- Program to accept a string and print it
- Program to accept a character in the uppercase and print in lower case
- Program to accept a string in Lower case and print it in upper case
- Program to accept a character in any case and print in another case
- Program to accept a string and print it by using while loop
- Program to find length of a string using string function
- Program to find length of a string without using string function
- Program for Copy a String to another using String Function
- Program to find length of a string without using string function
- Program for Compare two String using String Function
- Program for Compare two String without using String Function
- Program for String Reverse with String Function
- Program for String Reverse without String Function
- Program for String Concatenation with String Function
- Program for String Concatenation without String Function
- Program to convert all characters in a string to lower case using string function
- Program to convert all characters in a string to lower case without using string function
- Program to convert all characters in a string to upper case using string function
- Program to convert all characters in a string to upper case without using string function
- Program to enter 5 string and print them with their length
- Program to accept a string and print each word of the string separately also print total number of words
- Program to accept a string and display vowels frequency( total number of vowels)
- Program to accept a string and display frequency of each vowel along with vowel
- Program to enter a word and check whether it is palindrome or not using string function
- Program to enter a word and check whether it is palindrome or not without using string function
POINTERS
- Program to accept two numbers and print its address along with the numbers
- Program to accept two numbers and print the sum of given two numbers by using pointers
- Program to interchange two values using pointers
- Implement a function interchange() to interchange two values using pointers
- Program to sum all the elements of an array using pointer
- Program to find maximum element of an array of elements using pointer
- Program to print sum of all the elements in 2D array using pointer
- Program to sort an array of elements using pointers
- Program to sort string using pointers
- Program to search given element in an array using pointers
- Program to demonstrate the use of pointer to pointer
DYNAMIC MEMORY ALLOCATION
- Program to dynamically allocate memory using calloc for "n" integer elements, input elements, display it and then free the memory
- Program to dynamically allocate memory using malloc for "n" integer elements, input elements, display it and then free the memory
- Program to dynamically allocate memory using malloc for "n" integer elements, input elements and then display it. Then reallocate memory for the same pointer variable, input elements, display it and then free the memory
- Program to find the length of the string
- Program to find the sum of "n" elements
- Program to sort "n" elements in ascending order
- Program to search an element
- Program to enter three strings and sort them in ascending order alphabetically
- Common Programming Errors
No comments:
Post a Comment