Breaking News

C Tutorial

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 Variables expression Comment All these …

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 main() { int i; printf("Enter …

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. auto double int struct break …

Read More »

Operators in C Language

Operators are the foundation of any programming language. Thus the functionality of C language is incomplete without the use of operators. Operators allow us to perform different kinds of operations on operands. In C, operators …

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 decision-making by supporting the following …

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 an integral value, which is …

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 a specified condition is true. …

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, finite means data range must …

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 data type. A string is …

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 variables External variables Static variables …

Read More »

Functions in c

A function is a block of code that performs a particular task. There are times when we need to write a particular block of code for more than once in our program. This may lead …

Read More »