chevron_left

Recent posts tagged operator

6 0 1 min.
Overview operators in java: Provides a full featured set of Java operators. Most of them are taken directly from C and C ++. So Java operators differ from their counterparts in other languages ​​in a few important ways. It is important to know ho...
posted Sep 16 Tania 937 points
6 0 1 min.
▪Introduction ~ operator in c++: The bitwise operators are used to access the computer hardware. Use of bitwise operators requires knowledge of different number systems and conversion numbers from one system into another number system. The data in...
posted Sep 16 Tania 937 points
15 1 1 min.
Usage : **instanceof** operator is used to know the type of an object at runtime. syntax : objref instanceof type *objref* is an object reference to a class, and *type* is class type. It returns true if objref is an instance of type, otherwise r...
posted Sep 8 DivyaN 363 points
21 1 2 min.
In C++, when you use arithmetic operations, you use some symbols like “+”, “-”, “*”, “/”, …. Apart from that, there are also others symbol that are used for special purposes like “=&rd...
posted Aug 31 hhh98hd 226 points
24 1 2 min.
Many times in Javascript, you may encounter the operator === and you may wonder what does it mean and when to use it ? In this article I will explain all to you. So let’s begin !First of all, I would like to point out differences betw...
posted Aug 23 hhh98hd 226 points
0 0 4 min.
 There are four equality operators: ==, ===, !=, and !==. The ! forms are of course the symmetric “not equal” versions of their counter‐ parts; non-equality should not be confused with inequality. The difference between == and =...
posted Aug 17 Takele 262 points
3 0 2 min.
Like any other programming language like C/C++.In Java, **"="** is called an assignment operator. A variable on left hand side is assigned with a result of operations on right hand side. Precisely, it assigns value from right side operand to left sid...
posted Aug 16 DivyaN 363 points
13 0 0 min.
Questionwhat will be the values of x and y as a result of the following code? int x = 25, y = 8; x += y++;A) x = 25, y = 8B) x = 33, y = 8C) x = 33, y = 9D) x = 34, y = 9 Correct Answer: C) x = 33, y = 9...
posted Aug 12 SharadMagar450 320 points
4 0 2 min.
If you are learning JavaScript, did you came across REST parameters and Spread operator? Did it confused you just like it to me? It took me couple of days to understand and find out the difference between them. Let’s understand what a...
posted Aug 7 Nikita Agarwal 13 points
2 0 2 min.
The -> operator is also known as the arrow operator and it is usually used to refer to individual members in structs, class objects and unions.Unlike dot operators, which are used to access members of objects, arrow operators&n...
posted Aug 7 hhh98hd 226 points
1 0 5 min.
​.*  орerаtоr  in  С++Роinter  tо  member  орerаtоrs  .*  ->*There  аre  twо  роinter  tо  member  орerаtоrs: .* аnd ->*.The .* орerаtоr  is &nb...
posted Aug 5 sakshi 955 points
4 0 5 min.
Unary operator that act upon a single operand to produce a new value.Types of unary operators:unary minus(-)increment(++)decrement(- -)NOT(!)Addressof operator(&)sizeof()unary minusThe minus operator changes the sign of its argument. A posit...
posted Aug 1 Yogesh Sharma 337 points
12 0 1 min.
On the off chance that you realize you're continually going to utilize slam, it's a lot simpler to consistently utilize the twofold section contingent compound order [[ ... ]], rather than the Posix-viable single section variant [ ... ]. Insi...
posted Jul 25 amna 2,504 points
2 0 3 min.
С++  орerаtоrs  thаt  саnnоt  be  оverlоаdedОРERАTОR  ОVERLОАDINGThe  term  ‘орerаtоr  оverlоаding’  seems  tо  be  new  but  the  соnсeрt  is  quit...
posted Jun 24 sakshi 955 points
29 3 1 min.
In ECMAScript, formally known as javascript standard, '==’ and '===’ both are considered as comparison operator. if we concern about just comparison of two variables the we have to deal with '==’ operator otherwise if th...
posted Jun 4 mhfaisal 275 points
0 0 2 min.
Python is a high level and most popular programming language nowadays. So in this tutorial, we will discuss about difference between two operators in Python. If you are a new coder in Python then, don’t worry. On this page, you will learn all a...
posted Nov 6, 2020 Prasandeep Gautam 0 points
26 0 2 min.
Operator overloading provides an inherent interface to the users of our class, making it possible to work equally well with classes and built-in data types. Operator overloading in C++ allows operators to have user-defined meanings on user defined ty...
posted Oct 14, 2020 Lalit Kumar 0 points
0 0 2 min.
* = Is the assignment operator. This is useful shortcuts and one as when writing any old application to utilize your time well be appreciated. (Check the example 1)Example 1:int num = 1;num * = 5;// same thing asnum = num * 5;Now something else about...
posted Oct 9, 2020 Hasnain_khan 0 points
0 0 1 min.
We can store ‘Kodlogs’ like data in strings. Strings contain letters, numbers, symbols and all other letters. String can be either in single quotes or double quotes. This article discusses the method to check if a string is empty or ...
posted Oct 2, 2020 Lalit Kumar 0 points
15 0 1 min.
Symbols that can perform operations on values or variables are known as operators. For example +, -, =, %, << etc. Cout operator (<<) is used to print the output to the screen. Operands are the values or the variable on which operators pe...
posted Sep 15, 2020 Lalit Kumar 0 points