Welcome To Tutorialspoint.dev
Officially launched 18th May 2019

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

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

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

# Order of operands for logical operators

The order of operands of logical operators &amp;&amp;, || are important in C/C++. In mathematics, logical AND, OR, etc&#x2026; operations are commutative. The result ...

# Increment (Decrement) operators require L-value Expression

What will be the output of the following program? #include&lt;stdio.h&gt; int main() { &#xA0;&#xA0;&#xA0;int i = 10; &#xA0;&#xA0;&#xA0;printf(&quot;%d&q...

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

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

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

# 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 &apos;x&apos; is 0, Assign value &apos;a&apos; to variable &apos;...

# Execution of printf with ++ operators

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