Courses
Tutorials
Practice
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
37.4K+ articles
DSA
22.8K+ articles
Java
10.8K+ articles
C++
4.3K+ articles
C++ Programs
2.4K+ articles
C Language
1.8K+ articles
Bit Magic
1.2K+ articles
cpp-operator
59+ articles
C-Operators
39+ articles
C++-Operator Overloading
15+ articles
Operators
51 posts
Recent Articles
Popular Articles
Why Assignment Operator Overloading Must Return Reference?
Last Updated: 13 August 2024
Operator overloading in C++ allows us to define custom behaviors for operators when applied to user-defined types. One of the most commonly overloaded operators is the ass...
read more
C++
Operators
C++-Operator Overloading
C++ Programs
Operators in LISP
Last Updated: 29 October 2021
Operators are the foundation of any programming language. Thus the functionality of the LISP programming language is incomplete without the use of operators. We can define...
read more
Operators
Picked
LISP
LISP-Basics
Unformatted input/output operations In C++
Last Updated: 11 November 2021
In this article, we will discuss the unformatted Input/Output operations In C++. Using objects cin and cout for the input and the output of data of various types is possib...
read more
cpp-input-output
cpp-operator
C++
Operators
C++-Operator Overloading
cpp-operator-overloading
C++ Programs
Cascading of Input/Output Operators in C++
Last Updated: 24 May 2022
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
cpp-operator
C++
C-Operators
Operators
C++-Operator Overloading
Operator Overloading
cpp-operator-overloading
C++ Programs
Short-Circuiting in C++ and Linux
Last Updated: 17 December 2021
Short-circuiting is one of the optimization steps of the compiler, in this step unnecessary calculation is avoided during the evaluation of an expression. Expression is ev...
read more
cpp-operator
C++
Operators
Linux-Unix
What is the difference between = (Assignment) and == (Equal to) operators
Last Updated: 21 February 2023
= operatorThe "=" is an assignment operator used to assign the value on the right to the variable on the left.For example:a = 10;b = 20;ch = 'y';Example:[tabby title="C"][...
read more
Programming Language
Operators
Difference Between
Double colon (::) operator in Java
Last Updated: 23 February 2022
The double colon (::) operator, also known as method reference operator in Java, is used to call a method by referring to it with the help of its class directly. They beha...
read more
Java
Operators
Check whether the two numbers differ at one bit position only
Last Updated: 15 June 2022
Given two non-negative integers a and b. The problem is to check whether the two numbers differ at one bit position only or not.Examples:Input : a = 13, b = 9Output : Yes(...
read more
Bit Magic
Operators
Numbers
DSA
Java Operators
Last Updated: 14 April 2025
Java operators are special symbols that perform operations on variables or values. These operators are essential in programming as they allow you to manipulate data effici...
read more
Java
Operators
Java-Operators
Precision of Floating Point Numbers in C++ (floor(), ceil(), trunc(), round() and setprecision())
Last Updated: 02 November 2022
The decimal equivalent of 1/3 is 0.33333333333333…. An infinite length number would require infinite memory to store, and we typically have 4 or 8 bytes. Therefore, Floati...
read more
Technical Scripter
CPP-Library
C Language
C++
Operators
Data Type
Python | Operators | Question 4
Last Updated: 28 June 2021
What is the output of the following program :[tabby title="Python3"][sourcecode language="python3"]i = 0while i < 3: print i i++ print i+1[/sourcecode][t...
read more
Python-Quizzes
Operators
Python-Operators
Python | Operators | Question 3
Last Updated: 28 June 2021
Which operator is overloaded by the or() function?(A) ||(B) |(C) //(D) / Answer: (B) Explanation: or() function overloads the bitwise OR operatorQuiz of this QuestionPleas...
read more
Python-Quizzes
Operators
Python-Operators
Python | Operators | Question 2
Last Updated: 28 June 2021
Which function overloads the operator?(A) more()(B) gt()(C) ge()(D) None of the above Answer: (D) Explanation: rshift() overloads the operatorQuiz of this QuestionPlease...
read more
Python-Quizzes
Operators
Python-Operators
Python | Operators | Question 1
Last Updated: 28 June 2021
What is the output of the following code :[tabby title="Python3"][sourcecode language="python3"]print 9//2[/sourcecode][tabbyending](A)4.5(B)4.0(C)4(D)Error Answer: (C)Ex...
read more
Python-Quizzes
Operators
Python-Operators
Java | Operators | Question 9
Last Updated: 28 June 2021
Predict the output of the following program.[tabby title="Java"][sourcecode language="java"]class Test{ boolean[] array = new boolean[3]; int count = 0; void se...
read more
Java Quiz
Operators
Java-Operators
1
2
3
4
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 !