Home / Tag Archives: Basics of C Language

Tag Archives: Basics of C Language

Introduction of C Programming Language

C Programming Language C is a structured programming language developed by Dennis Ritchie in 1973 at Bell Laboratories. It is one of the most popular computer languages today because of …

Read More »

Features of C language

It is a robust language with rich set of built-in functions and operators that can be used to write any complex program. The C compiler combines the capabilities of an …

Read More »

First C language Program

Lets see how to write a simple c program #include <stdio.h> #include <conio.h> int main() { printf("Hello,World"); getch(); return 0; } Different parts of C program. Pre-processor Header file Function …

Read More »

C Input output function

C programming language provides many of the built-in functions to read given input and write data on screen, printer or in any file. scanf() and printf() functions #include<stdio.h> #include<conio.h> void …

Read More »

C Language Syntax RulesC Language Syntax Rules

C language syntax specify rules for sequence of characters to be written in C language. The rule specify how character sequence will be grouped together to form tokens. A smallest …

Read More »

Keywords In C Programming Language

Keywords are preserved words that have special meaning in C language. The meaning has already been described. These meaning cannot be changed. There are total 32 keywords in C language. …

Read More »

Operators in C Language

C language supports a rich set of built-in operators. An operator is a symbol that tells the compiler to perform certain mathematical or logical manipulations. Operators are used in program …

Read More »

Variables in C Language

A variable is a name that may be used to store a data value. Unlike constant, variables are changeable, we can change value of a variable during execution of a …

Read More »

Decision making in C

Decision making is about deciding the order of execution of statements based on certain conditions or repeat a group of statements until certain specified conditions are met. C language handles …

Read More »

Switch statement

Switch statement is used to solve multiple option type problems for menu like program, where one value is associated with each option. The expression in switch case evaluates to return …

Read More »

How to use Loops in C Lanugage

n any programming language, loops are used to execute a set of statements repeatedly until a particular condition is satisfied. How it Works A sequence of statements are executed until …

Read More »

Arrays

In C language, arrays are reffered to as structured data types. An array is defined as finite ordered collection of homogenous data, stored in contiguous memory locations. Here the words, …

Read More »

string and Character array

string is a sequence of characters that is treated as a single data item and terminated by null character '\0'. Remember that C language does not support strings as a …

Read More »

Storage classes

In C language, each variable has a storage class which decides scope, visibility and lifetime of that variable. The following storage classes are most oftenly used in C programming, Automatic …

Read More »