Welcome To Tutorialspoint.dev
Officially launched 18th May 2019

# Character arithmetic in C and C++

As already known character known character range is between -128 to 127 or 0 to 255. This point has to be kept in mind while doing character arithmetic. To understand...

# Difference between float and double in C/C++

For representing floating point numbers, we use float, double and long double. What&#x2019;s the difference ? double has 2x more precision then float. ...

# Is there any need of “long” data type in C and C++?

In C and C++, there are four different data type available for holding the integers i.e., short, int, long and long long. Each of these data type requires different a...

# Return values of printf() and scanf() in C/C++

What values do the printf() and scanf() functions return ? printf() : It returns total number of Characters Printed, Or negative value if an output error or an e...

# rand() and srand() in C/C++

rand () rand() function is used in C to generate random numbers. If we generate a sequence of random number with rand() function, it will create the same sequence ag...

# Operators in C Set 1 (Arithmetic Operators)

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 perf...

# Comma in C and C++

In C and C++, comma (,) can be used in two contexts: 1) Comma as an operator: The comma operator (represented by the token ,) is a binary operator that evaluates its...

# Operators in C Set 2 (Relational and Logical Operators)

We have discussed introduction to operators in C and Arithmetic Operators. In this article, Relational and Logical Operators are discussed. Relational Operators: Re...

# Operands for sizeof operator

In C, sizeof operator works on following kind of operands: 1) type-name: type-name must be specified in parentheses. sizeof (type-name)&#xA0; 2) ...

# Bitwise Operators in C/C++

In C, following 6 operators are bitwise operators (work at bit-level) &amp; (bitwise AND) Takes two numbers as operands and does AND on every bit of two numbers. ...