Tutorials
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
Misc
7.8K+ articles
C++
3.7K+ articles
C++ Programs
1.5K+ articles
C Language
1.3K+ articles
C Basics
78+ articles
C-Output
70+ articles
cpp-operator
59+ articles
Operators
13+ articles
C Decision Making
4+ articles
C-Operators
40 posts
Recent Articles
Popular Articles
Logical Expressions and Short-Circuit Evaluation in C
Last Updated: 19 July 2025
In C, logical expressions are used to perform decision-making using logical operators such as (AND) or || (OR) by combining multiple conditions. These expressions return ...
read more
C Language
C-Operators
C Decision Making
Bitwise Complement Operator (~ tilde)
Last Updated: 23 July 2025
Pre-requisite:Bitwise Operators in C/ C++Bitwise Operators in JavaThe bitwise complement operator is a unary operator (works on only one operand). It takes one number and ...
read more
Blogathon-2021
DSA
cpp-operator
C-Operators
Java-Operators
showbits( ) Function in C with Examples
Last Updated: 23 July 2025
Bitwise operators are operators (just like +, *, , etc.) that operate on ints and units at the binary level. This means they look directly at the binary digits or bits of ...
read more
C Language
C-Operators
Cascading of Input/Output Operators in C++
Last Updated: 15 July 2025
Prerequisite: Operator Overloading in C++, Types of Operator OverloadingWhen an object calls an operator function by passing an argument and the returned value of the oper...
read more
C++ Programs
C++
cpp-operator
cpp-operator-overloading
C-Operators
Operators
C++-Operator Overloading
Operator Overloading
--> (Goes to) in C/ C++
Last Updated: 23 July 2025
-- is called as "Goes to" in C/ C++ and compiles fine in every compiler including GCC and MSVN. This operator (--) is not described in any C/ C++ standards as it is not an...
read more
C++ Programs
C++
cpp-operator
C-Operators
Difference between sizeof(int *) and sizeof(int) in C/C++
Last Updated: 23 July 2025
sizeof() is commonly used operator in the C or C++. It is a compile-time unary operator that can be used to compute the size of its operand. The result of sizeof() is of ...
read more
C++
C Basics
cpp-operator
C-Operators
Modulo Operator (%) in C/C++ with Examples
Last Updated: 12 July 2025
In C or C++, the modulo operator (also known as the modulus operator), denoted by %, is an arithmetic operator. The modulo division operator produces the remainder of an i...
read more
C++
cpp-operator
C-Operators
Logical Not ! operator in C with Examples
Last Updated: 12 July 2025
! is a type of Logical Operator and is read as "NOT" or "Logical NOT". This operator is used to perform "logical NOT" operation, i.e. the function similar to Inverter gate...
read more
C Language
C-Operators
Conditional or Ternary Operator (?:) in C
Last Updated: 12 July 2025
The conditional operator in C is kind of similar to the if-else statement as it follows the same algorithm as of if-else statement but the conditional operator takes less ...
read more
C Language
C Basics
C-Operators
Interesting Facts About C Language
Last Updated: 11 July 2025
C Programming language is a general purpose, case-sensitive, procedural programming language. It is one of the first and few high-level languages that is still popular amo...
read more
Technical Scripter
C Language
Technical Scripter 2018
C-Operators
C-Misc
Assignment Operators in C
Last Updated: 04 February 2025
In C, assignment operators are used to assign values to variables. The left operand is the variable and the right operand is the value being assigned. The value on the rig...
read more
C Language
C Basics
cpp-operator
CPP-Basics
C-Operators
Pre-increment and Post-increment in C/C++
Last Updated: 27 May 2025
In C/C++, Increment operators are used to increase the value of a variable by 1. This operator is represented by the ++ symbol. The increment operator can be classified in...
read more
C++
cpp-operator
C-Operators
# and ## Operators in C
Last Updated: 02 January 2025
In C, # and ## operators are preprocessor operators using in macros for token manipulation. They are known as stringizing and token pasting operators and are used in macro...
read more
Misc
C Language
cpp-operator
C-Operators
Output of C programs | Set 58 (operators)
Last Updated: 02 October 2017
Prerequisite : Operators in CQ.1 What is the output of this program? CPP #include iostreamusing namespace std;int main(){ printf(value is = %d, (10 ++)); ...
read more
C Language
C-Output
C-Operators
Output of C programs | Set 55 (Ternary Operators)
Last Updated: 19 September 2017
Predict the output of below programsQuestion 1C #include stdio.hint main(){ int x, a = 0; x = sizeof(a++) ? printf(Geeks for Geeks\n) : 0; printf(Value...
read more
C Language
C-Output
C-Operators
1
2
3
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !