About Pritesh Taral

My name is Pritesh Taral. I am working in well known MNC. as Java Developer. I am part time blogger loves writing articles on C/C++. I am active on facebook using community fan page .One can Visit me @ Facebook Facebook Fan Page

Posts by Pritesh Taral:

Bitwise Left Shift (<<) Operator in C Programming

Bitwise Left Shift Operator in C It is denoted by << Bit Pattern of the data can be shifted by specified number of Positions to Left When Data is Shifted Left , trailing zero’s are filled with zero. Left shift Operator is Binary Operator [Bi - two] Binary means , Operator that require two arguments(…)

What is the size of Pointer variable in C ?

In the previous chapter, we have learnt about the memory organization of the pointer variable. In this chapter we are learning to compute or find the size of pointer variable. What is the size of Pointer variable in C ? How to calculate size of Pointer ? Consider the following memory map before declaring the(…)

Application of Array in C Programming

Application Of Array : Array is used for different verities of applications. Array is used to store the data or values of same data type. Below are the some of the applications of array – A. Stores Elements of Same Data Type Array is used to store the number of elements belonging to same data(…)

if-else-if Statement OR else if Ladder : Tutorial on If

if-else-if Statement OR else if Ladder : Suppose we need to specify multiple conditions then we need to use multiple if statements like this – void main ( ) { int num = 10 ; if ( num > 0 ) printf (“\n Number is Positive”); if ( num < 0 ) printf (“\n Number(…)

1-D Array – Compile Time Initializing in C Programming

Whenever we declare an array we can initialize array directly at compile time. Initialization of an array is called as compiler time initialization if and only if we assign certain set of values to array element before executing program. i.e at Compilation Time.

Basic Stack Operation : Data Structure

Primitive Basic Stack Operation in C We know that Stack can be represented using an array. Stack is open at one end and operations can be performed on single end. We can have different primitive operations on Stack Data Structure. Creating Stack Data Structure : typedef struct stack { int data[MAX]; int top; }stack; Basic(…)

Variable in C Programming

A Variable is a name given to the memory location where the actual data is stored.Variable is also called as container to store the data. Variable name may have different data types to identify the type of value stored

Increment Operator in C Programming [Post Increment / Pre Increment]

In C Programming , Unary operators are having higher priority than the other operators. Unary Operators are executed before the execution of the other operators. Increment and Decrement are the examples of the Unary operator in C. Increment Operator in C Programming : Increment operator is used to increment the current value of variable by(…)