Category: C Language Basics

C Language Basics

C Instructions

C Instructions

Now that we have written a few programs let us look at the instructions that we used in these programs. There are basically three types of instructions in C: Type Declaration Instruction Arithmetic Instruction...

C Keywords

C Keywords

Keywords are the words whose meaning has already been explained to the C compiler (or in a broad sense to the computer). The keywords cannot be used as variable names because if we do...

C Hello World

C Hello World

Following example presents you a Hello World Example. Before we begin with our first C program do remember the following rules that are applicable to all C programs: Each instruction in a C program...

C program compile and execution stages

C program compile and execution stages

C programs are written in a high-level language using letters, numbers, and the other symbols you find on a computer keyboard. Computers actually execute a very low-level language called machine code (a series of...

Structure of a C Program

Structure of a C Program

To find out the structure of a C program, consider following Example Any C program generally having structure as :- Include Header Files Define Global Variables Define main Function Execute Statements, Call Other Functions...

Why C?

Why C?

During the past three decades, C has become one of the most important and popular programming languages. It has grown because people try it and like it. In the past decade, many have moved...

Characteristics of C

Characteristics of C

C is a general-purpose, procedural programming language. Dennis Ritchie first devised C in the 1970s at AT&T Bell Laboratories in Murray Hill, New Jersey, for the purpose of implementing the Unix operating system and...