Category Archives: C

C programming,C concepts

Counting Sort

Counting Sort is a kind of sort which you can use, only when you have prior knowledge about the kind of data you are sorting. For counting sort, we need to know about the range of the give data eg: … Continue reading

Posted in Algorithms, C | Tagged , , , , | Leave a comment

Sudoku – Solver

After a long time I’m writing this post. Today, I would like to explain you one of my project which I have worked on. This my programming Languages project – A 16 X 16 Sudoku Solver with a Java Driven … Continue reading

Posted in C, Java, Python | Tagged , , , , , , , , , , , , , , | Leave a comment

Insertion Sort in C

What is Insertion Sort? As said Before, Insertion sort is better technique when compared to Bubble sort. But it cant handle data of large size. So we need to go for selection sort and heap sort techniques. Insertion Sort is … Continue reading

Posted in C | Tagged , , , , , , , , , , , , , , , | 1 Comment

Bubble sort in C

What is Bubble sort? Bubble sort is one of the basic and simple sorting techniques. Bubble sort is not advisable for huge amount of data. In today world, we may not be able to employ bubble sort technique because of … Continue reading

Posted in C | Tagged , , , , , , , , , , | 1 Comment

Prime Number Program in C

In today’s tutorial we are going to learn about writing prime number program using C.A number is said to be prime number if and only if it is divisible by 2 otherwise it is not a prime number. The meaning … Continue reading

Posted in C | Tagged , , , , | Leave a comment

Palindrome Number Program in C

A number is said to be palindrome if it satisfy’s a condition,the reverse of the number should be same as the original number.For finding the reverse of the given number we need to get the individual digits of given number … Continue reading

Posted in C | Tagged , , , , , , , , | 1 Comment

Sum of digits of a Number in C

In this tutorial we are going to learn about adding digits present in a given number.The main concept of this problem is…..If the input is 225 then the output should be 9 i.e is addition 2+2+5.The logic behind it is … Continue reading

Posted in C | Tagged , , , , , , | 1 Comment

Fibonacci Series program in C

Fibonacci series starts with 0 and 1.The third element of fibonacci series in obtained by adding the first,two elements of the series.If we need to find an element of the series we add the two numbers which are just behind … Continue reading

Posted in C | Tagged , , , , , , , , , , , , , , | Leave a comment

Switch case in C

In one of earlier post we introduced to decision making statements in c.Today we shall learn about one of the decision making statement in C “switch statement“.The switch statement allows you for checking a equality among the options available and … Continue reading

Posted in C | Tagged , , , , , , , , , | Leave a comment

Binary Search Program in C…!!!

As one of the basic searching technique we learned about Linear Search.Today we shall learn about Binary Search technique.In linear searching method we compared each element of the array with given key.The main drawback of the linear search is,”if the … Continue reading

Posted in C | Tagged , , , , , , , , , , | Leave a comment

Control Structures in C…!!!(Iteration or Looping)

In our earlier post we presented you about Decision Making Statements in C……..In this post we are going to learn about Looping statements or Iterative statements in C.The main advantage of loops is we can execute the same steps more … Continue reading

Posted in C | Tagged , , , , , , | Leave a comment

Linear Search Program in C

In this tutorial we shall try to make a program for Linear Search.Linear Search is the basic and easiest searching method and is for junior programmers.The steps involved in searching a number using Linear Search algorithm is: Method 1.Get the … Continue reading

Posted in C | Tagged , , , , , , | Leave a comment

Decision Making Statements in C

Have you ever thought of controlling the execution of the program…..!!!.Those which control the flow of the program are called as control Structure of a program.These control structures are common for all programming languages irrespective of their designing. Control Structures … Continue reading

Posted in C | Tagged , , , , , | 2 Comments

C program to calculate area and perimeter of a Cirlce…!!!

In our earlier post we calculated the area and perimeter of a circle.In this post we are dealing with calculating the area and perimeter of a circle. The main input for calculating area and perimeter of a circle is radius … Continue reading

Posted in C | Tagged , , , , | 4 Comments

C program to calculate area and perimeter of a Rectangle…!!!

In this tutorial we are going to write a program to calculate area and perimeter of a rectangle.Here we are going to use input and output statement for programming. 1.The main input of this program is length and breadth of … Continue reading

Posted in C | Tagged , | 3 Comments

Hello world Program and Basic Arithimetic Operations Program in C

In this tutorial we shall start learning Programming through C.As a basic program of every programming language we shall start with Hello world program and some basic arithmetic program. For a Hello world we need to just display the “Hello … Continue reading

Posted in C | Tagged , , , , , , , , , | 1 Comment

Input and Output Statements in C

In our earlier post we introduced you to C language.Today we shall learn about input and output statements in C.These statements are used for intake of data from the user and display the output after processing to the user. First … Continue reading

Posted in C | Tagged , , , , , | Leave a comment

Introduction to C

C is a programming language which is developed by Dennis Ritchie between the years 1963 and 1973.He developed this language in AT&T Bell Labs.Actually C got it’s name as a sequence to it’s parents versions.First Dennis Ritchie named it as … Continue reading

Posted in C | Tagged , , , , , | 1 Comment