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 its structure, high-level abstraction, machine independent feature. C …
Read More »C Tutorial
What are the Features of C Programming language? C Tutorial
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 assembly language with features of …
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 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 »What are the syntax rule in C programming Language
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 individual unit in c program …
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 »What is the Variables in C Programming 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 program. A programmer can choose …
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 »