Tutorialspoint.dev
Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
C C-Operators cpp-operator

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...
Bit Magic C C-Operators

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...
Bit Magic C C++

Bitwise Operators in C/C++

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

Order of operands for logical operators

The order of operands of logical operators &&, || are important in C/C++. In mathematics, logical AND, OR, etc… operations are commutative. The result ...
C C++ C-Operators

Increment (Decrement) operators require L-value Expression

What will be the output of the following program? #include<stdio.h> int main() {    int i = 10;    printf("%d&q...
C C-Operators cpp-operator

# and ## Operators in C

Stringizing operator (#) This operator causes the corresponding actual argument to be enclosed in double quotation marks. The # operator, which is generally called th...
C C++ Mathematical

Operators in C / C++

Operators are the foundation of any programming language. Thus the functionality of C/C++ programming language is incomplete without the use of operators. We can de...
C C++ C-Operators

Unary operators in C/C++

Unary operator: are operators that act upon a single operand to produce a new value. Types of unary operators: unary minus(-) increment(++) decrement(- -) NOT(!) Ad...
C++ CBSE - Class 11 school-programming

Conditionally assign a value without using conditional and arithmetic operators

Given 4 integers a, b, y, and x, where x can only either 0 and 1 only. The ask is as follows: If 'x' is 0, Assign value 'a' to variable '...
C C++ C-Operators

Execution of printf with ++ operators

Consider below C++ program and predict its output. printf("%d %d %d", i, ++i, i++); The above invokes undefined behaviour by referencing ...

Subscribe to Our Newsletter