Breaking News
You are here: Home / Tag Archives: c programming notes

Tag Archives: c programming notes

Feed Subscription

History of C Programming Language

History of C Programming Language

History of C Programming Language C is a programming language which born at “AT & T’s Bell Laboratories” of USA in 1972. It was written by Dennis Ritchie. This language was created for a specific purpose : to design the UNIX operating system (which is used on many computers).   Characteristics Easy to learn Middle level Structured language It is Compiled Language so ... Read More »

C Programming introduction

C Programming introduction

C Programming introduction C Program File All the C programs are writen into text files with extension “.c” for example hello.c.   C Compilers When you write any program in C language then to run that program you need to compile that program using a C Compiler which converts your program into a language understandable by a computer. This is called ... Read More »

Input and Output in C

Input and Output in C

Input and Output in C    Input and Output in C Input : In any programming language input means to feed some data into program. This can be given in the form of file or from command line. C programming language provides a set of built-in functions to read given input and feed it to the program as per requirement. ... Read More »

Basic Datatypes in C

Basic Datatypes in C

Basic Datatypes in C Basic Datatypes in C C has a concept of ‘data types’ which are used to define a variable before its use. The definition of a variable will assign storage for the variable and define the type of data that will be held in the location. The value of a variable can be changed any time. C ... Read More »

Variable Types in C

Variable Types in C

Variable Types in C Variable Types in C A variable is just a named area of storage that can hold a single value (numeric or character). The C language demands that you declare the name of each variable that you are going to use and its type, or class, before you actually try to do anything with it. Rules : ... Read More »

Operator Types in C

Operator Types in C

Operator Types in C Operator Types in C What is Operator? Simple answer can be given using expression 4 + 5 is equal to 9. Here 4 and 5 are called operands and + is called operator. C language supports following type of operators. Arithmetic Operators Logical (or Relational) Operators Bitwise Operators Assignment Operators Misc Operators Lets have a look ... Read More »

Using Constants in C

Using Constants in C

Using Constants in C   Constants in C Like a variable, a constant is a data storage location used by your program. Unlike a variable, the value stored in a constant can’t be changed during program execution. It is a fix value which can not be change during the program execution. There are four types of constant 1.       Integer Constant ... Read More »

Flow Control Statements in C

Flow Control Statements in C

Flow Control Statements in C   C – Flow Control Statements C provides two sytles of flow control: Branching Looping Branching is deciding what actions to take and looping is deciding how many times to take a certain action. 1)Branching: if statement This is the most simple form of the branching statements. if the Condition  is true then the statement ... Read More »

Arrays in C

Arrays in C

Arrays in C   Arrays: Array is a set of Collection of similar data type. each elements having the same data type and the same name but index is different. Array index is begins from 0. It makes program coding Efficient. Suppose I want to store 100 students name in that case I have to use 100 different variables, instead ... Read More »

Functions in C

Functions in C

Functions in C   C – Using Functions Every C program is a Collection of Functions There are two types of Functions   1)       System Defined Functions The Function Which is In-buit is C Language Library is Called System Defined Function. i.      Eg. Printf,scanf,getch(),clrscr() etc… 2)       User Defined Function A Function Which is Created By The User is Called User ... Read More »

Scroll To Top