C Programming

C plus plus, C Programming

Control structures and statements in C and C++

Control structures form the basic entities of a “structured programming language“. We all know languages like C/C++ or Java are all structured programming languages. Control structures are used to alter the flow of execution of the program.  Why do we need to alter the program flow ? The reason is “decision making“! In life, we […]

C plus plus, C Programming

Insertion sorting algorithm with example in C/C++/Java languages

So far we have seen 2 sorting algorithms:- 1) Bubble sorting and 2) Selection sorting. Now in this article, we are analyzing insertion sort algorithm with its example code suitable for C/C++/Java programming languages. I recommend you go through above articles of Bubble sorting and Selection sorting before reading further.  Insertion sorting algorithm sorts one element at

C plus plus, C Programming

Selection Sort in C/C++/Java programming languages

In the previous article, we have analysed Bubble sort algorithm and it’s implementation in C programs. In this article we are going to see another sorting algorithm, named, Selection sorting. Just like “Bubble sort”, selection sort is also considered as an inefficient sorting algorithm. If you are curious to know the reason for this, please

C plus plus, C Programming

Bubble Sorting with example in C/C++/Java

Bubble sorting is one of the simplest sorting algorithm that we can use to sort an array or a structure. Though it is so simple to implement in a C program, bubble sort is also considered as an inefficient sorting algorithm. Bubble sort comes handy in cases where the total number of elements to be sorted is

C Programming

Void pointers in C

In this article we are learning about “void pointers” in C language. Before going further it will be good if you refresh about pointers by reading – Introduction to pointers in C.  A pointer variable is usually declared with the data type of the “content” that is to be stored inside the memory location (to

C Programming

Introduction to pointers in C

The basic purpose of developing a C programming tutorial for this website – CircuitsToday – is to make it useful for people who wish to work with embedded systems. Really good C programming skill is an essential to work with embedded systems and “Pointers” is the most important concept in C that should be mastered

C Programming

Compilers vs Interpreters – An overview of the differences

It is a general notion that people try to classify programming languages as either “compiled” language or “interpreted” language. Even experienced programmers tend to get confused here! But the fact is, programming languages are neither “compiled” nor “interpreted” types. They can be both at the same time. Compiling or interpreting -both are 2 different ways

C Programming

How to use Turbo C/C++ to run your first C program

There is no one in this world who is born as a programmer 😉 To write efficient programs using any languages you have to learn it by doing! You have to write as many different programs using as many different algorithms. You have to break codes, make errors, debug errors and sometimes you have to

C Programming

Download and Install Turbo C/C++ for Windows 7 (32 bit and 64 bit)

There are many compilers available for C language for different platforms, of which Turbo C is the one used commonly for Windows operating systems. You may all know that Turbo C/C++ is a 16 bit compiler which was originally developed for Windows versions up to XP. Nowadays most people uses latest versions of Windows like

C Programming

Operators-Expressions and Escape Sequences in C -Chapter 3

We are into third chapter of C programming in which we will discuss operators, operands, expressions and escape sequences. I assume that you have already gone through Chapter 1 – Data Types in C and Chapter 2 – Variables and Keywords in C. Operator – An operator is usually a symbolic representation of a particular

C Programming

Variables and Keywords in C-Chapter 2

In this chapter, I would like to explain variables and keywords in C language. I hope you have already gone through Chapter 1 – Data Types and Constants in C. Image Courtesy Variables A variable can be defined in many ways. At the basic level, a variable can be defined as a memory location declared

C Programming

Data Types and Constants in C-Chapter 1

To use any language in communication (to write/to speak), we need to understand it’s grammar first.  In the case of a programming language like C, the scenario is same as in the case of a communication language. We need to understand the grammar of C programming language first. So here begins:- In this article we

Scroll to Top