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

Tag Archives: c programming basic concept

Feed Subscription

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 »

enum Data type in C

enum Data type in C

enum Data type in C   The enum Data type enum is the abbreviation for ENUMERATE, and we can use this keyword to declare and initialize a sequence of integer constants. Here’s an example: enum colors {RED, YELLOW, GREEN, BLUE}; I’ve made the constant names uppercase, but you can name them which ever way you want. Here, colors is the ... Read More »

Storage Classes in C

Storage Classes in C

Storage Classes in C   C – Storage Classes A storage class defines the scope (visibility) and life time of variables and/or functions within a C Program. There are following storage classes which can be used in a C Program 1.       auto 2.       static 3.       extern 4.       register   [1]auto – Storage Class auto is the default storage class for ... Read More »

Header Function

Header Function

Header Function this tutorial show how to add header function. this is an example of adding a function through a header file. this is the best tutorial for beginners. this is simple tutorial. c programming header function tutorial | c programming basic concept | c programming header function notes | header function example in c programming | c programming simple ... Read More »

Scroll To Top