About Editorial Team

Editorial Team at Geekinterview is a team of HR and Career Advice members led by Chandra Vennapoosa.

typecasting in C

How typecasting plays an important role in C C allows programmers to perform typecasting by placing the type name in parentheses and placing this in front of the value.

sizeof Operator

What is sizeof operator? sizeof will return the number of bytes reserved for a variable or data type. The sizeof operator is a compile-time operator that returns an integer value. In other words sinc...

Assign values during declaration

How to assign values during declaration of variables Declaring variables tells the compiler the data type the variable is assigned and no storage area is allocated during this stage. It is possible t...

goto Statement

Why to avoid goto in C C has goto statement but one must ensure not to use too much of goto statement in their program because its functionality is limited and it is only recommended as a last resort...

printf and sprintf

What is the difference between printf and sprintf? sprintf: Writes formatted data to a character string in memory instead of stdout

Nonlocal Jump and Unconditional Jump

What is Nonlocal Jump and Unconditional Jump? longjmp() and setjmp() functions implement a nonlocal jump of program execution. "longjmp" jumps to a program state previously recorded by "setjmp".

Conversion in C

How does a conversion occur in C? The data types for numerical operations used in C are integer, float. It is important to know how conversions occur between these two data types in numerical operati...

Precedence of Operators

What is precedence of operators? When number of operators occurs in an expression the operator which is to be evaluated first is judged by applying priority of operators. The arithmetic operators ava...

Swap two variables

How to swap two variables without using third variable? A variable is a named location in memory that is used to store data which can be modified in a program. Let us learn how to swap two variables ...

Modulus Operator

What is the functionality and restrictions of Modulus Operator? When a division is performed, the remainder of the operation is given by modulus operator. The modulus operator is denoted in c by symb...