Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Why isn't the new operator is used to create objects in string and wrapper classes
java
0 Votes
1 Answer
19th Oct 2022, 4:27 AM
harsh singh
the + operator some times it does nt add the numbers instead it concat those 2 numbers?
javascript
operators
0 Votes
3 Answers
12th Jun 2016, 2:34 AM
Avdhoot yadav
I get a SyntaxError: can't assign to operator error in a max() min() function. What did I do wrong?
function-arguments
functions
python
python3
0 Votes
2 Answers
28th Jun 2020, 6:12 PM
Elias Kamakas
Bitwise operators >> and << in Python
bitwise
operator
python
0 Votes
2 Answers
16th May 2017, 8:05 PM
PwnySQL
If && is AND operator in c++, so what '&' is ? And how to use it ?
&
c++
1 Vote
3 Answers
8th Mar 2018, 4:28 PM
Ali Kafi
Hey guys. Can some one explain how this code works? I don't know what does this single & operator do.
c#
3 Votes
2 Answers
15th Oct 2017, 2:34 AM
Nuwan149
Hi guys I just forgot the difference between using .union and pipe(|) operator in python.please explain there is one difference.
python3
sets
union
1 Vote
2 Answers
9th Oct 2019, 10:07 PM
Sanjay Kumar
What is the purpose for using a modulo operator in qoutient and reminder? How is it worked out?
python3
2 Votes
2 Answers
28th Feb 2017, 3:59 PM
Benstead Towara
Have you heard about "down-to" operator?
c
c#
c++
down-to
java
javascript
operator
php
6 Votes
15 Answers
27th Nov 2018, 5:24 AM
777
In c++, can the modulo operator (%) be applied directly to floating -point numbers? such as float or double?
@c++
@modulo_operator
challenge
0 Votes
1 Answer
22nd May 2024, 2:39 AM
Mahmuda Akter Moon
In this question money=4 , and in if condition i use & operator and it does not satisfies the conditon which is money>500 ,
operators
0 Votes
8 Answers
29th Sep 2018, 5:10 PM
TEAM ELIMINATOR
Where to use bitwise operators?
bit
bitwise-operator
c#
operator
4 Votes
2 Answers
24th Nov 2016, 4:30 PM
Cyrus Ornob Corraya
I am getting an error : bad operand types for binary operator '<' if ( x < 18) { first type: "Scanner" , second type : "int"
java
0 Votes
7 Answers
16th Sep 2017, 8:09 PM
Sonu Kumar Jha
Why the ! Symbol cannot or is not used in the system.out.println("") when NOT operator is taking place at the if statement.
java
0 Votes
5 Answers
12th Aug 2019, 2:39 PM
Dhanush Narayanan R
How does the modulo operator determines wether the number entered is even or not ?
c++
operators
0 Votes
1 Answer
9th Aug 2016, 4:45 PM
Bassil Orabii
How to take the user input to assign which operator they want to use for an problem
c#
0 Votes
2 Answers
16th May 2020, 8:52 PM
Akon C
What will be the output of (1>2+3&&4)
c++
operator
precedence
relational
sololearn
6 Votes
5 Answers
13th Sep 2017, 12:16 PM
Abhishek Tandon
Can anyone tell me the mistake in this c++ program? It says something about the boolean and the & operator
c++
1 Vote
4 Answers
2nd Jul 2017, 12:48 PM
silvia mena
What happens if i give '==' operator in between two 'print' statements? Could anyone help with a solid explanation?
booleans
python
0 Votes
4 Answers
12th Dec 2016, 10:21 AM
Alen Alex
Write a c++ program to check the given number is less than 100 or greater than 100 by using ternary operator
c++
-1 Vote
5 Answers
24th Dec 2017, 5:55 PM
مبدعة الإعلام
I don't understan this operator %= why the result is 3 for this expression? int x = 15; int y = 6; Console.WritLine(x %= y);//output 3
c#
0 Votes
9 Answers
15th Jun 2016, 5:53 PM
Tommaso
Does anyone have an idea why isn’t it working??
javascript
operator
operators
switch
0 Votes
3 Answers
4th Oct 2018, 6:16 PM
Никита Шиляев
Can we change const object's variables by first making a pointer to it and then using the selection operator -> ??
c++
1 Vote
3 Answers
3rd Sep 2019, 5:13 PM
DÄRK PRÌÑÇÉ [ Inactive ]
can any one answer y cant we use decrement operator (x--) as a argument while calling a function recursively..?
c++
recursion
1 Vote
3 Answers
3rd Jun 2017, 2:33 AM
vinay lingam
Hi guys, I'm trying to overload the "<<" operator but I keep getting an error that says "too many parameters"
c++
error
operator-overloading
0 Votes
2 Answers
16th May 2020, 10:06 AM
Mustafa Ahmed
Python :=
:=
assign
help
operator
python
2 Votes
3 Answers
8th Oct 2021, 1:36 PM
Elfin
why does 3=="3" return false although they are of the same value? doesn't the == operator checks only for the type not the value
operators
ruby
1 Vote
7 Answers
13th Jul 2017, 12:46 PM
mariam maher
How can I know the answer to an equation like this? when we use modulus operator 25%7
c++
modulus
0 Votes
2 Answers
27th Feb 2018, 8:13 AM
👩🏻__🇴🇲
Is relational operator skip next operation when the conditions meet false in (&&) or condition meet true in (||)?
c#
c++
if-statements
operator
relational
1 Vote
1 Answer
6th Apr 2018, 10:38 AM
Nurman Tajir
How can I make the user input mathematical operator and I solve the operation and print the result?
input
java
1 Vote
2 Answers
7th May 2017, 11:47 PM
nahla
Can anyone explain why this nested list behaving weird?
behavior
list
multiplication
nested
operator
python
weird
4 Votes
4 Answers
23rd Dec 2018, 2:52 AM
OR!ON 🛡️
Why the pointer increases by 4 when the increment operator is used (ptr++)? Why there's something to do with int?
increment-operator
pointers
1 Vote
2 Answers
4th Dec 2018, 3:53 PM
Konybud
Why we should use the &obj specification for declaration of the operator function?let's use the myObj*
c++
operator-overloading
0 Votes
1 Answer
16th Feb 2016, 12:53 PM
Emanuel Lozitsky
Is exponentiation operator is used for string like "muthu" ** 2 like this it can work??
python
0 Votes
1 Answer
21st Mar 2018, 1:49 AM
R.MUTHUMOHANPRASATH
Print(3^5) what this mean in python?? " ^ " what is the name of this operator ? What does this ?
python3
0 Votes
2 Answers
28th Oct 2020, 6:40 AM
Naseem Ullah
Why I am getting this error? cs(28,27):error CS0019 : operator '-' cannot be applied to operands of type 'string' or 'int'
-
c#
0 Votes
3 Answers
23rd Jun 2021, 3:41 AM
Ur-Wellwisher
I have made a program for understanding this operator bt can anyone explain why in 2nd case it is giving answer 0??
this.
0 Votes
5 Answers
31st Jul 2017, 10:10 AM
Aman Kumar
Using increment operator using the ++ in example 4, it does not give right answer. Anyone knows why ?
operators
-1 Vote
2 Answers
29th Apr 2020, 2:53 PM
Merete Madsen
What if we just use // this operator and no % for any operation? Would it effect the calculation??
numeric-operations
python
0 Votes
3 Answers
18th Jul 2016, 3:58 PM
Sourav Kumar
how to make a calculator the user chose the operator (+ , - , ÷ , × ) .. i can make a siple calculator ..
c#
2 Votes
7 Answers
22nd Apr 2017, 6:43 AM
Lama Alkattan
How the '&' operator works in if-else statement and What is the difference between '&' and '&&' in logical operation.
3 Votes
1 Answer
2nd Mar 2017, 11:59 AM
Mr.Curious
This is ternary operator 1st condition is true i=0 and true value is 1 but why the output show 3 . Explain?
cpp
sololearn
0 Votes
3 Answers
16th Sep 2020, 12:08 PM
Suparna Podder
How i make a simple calculator which it take 15 number and operator in one time and show correct value in C++
c++
-1 Vote
3 Answers
22nd Feb 2022, 3:02 AM
MR€NavidAhmad€AFG
Please i cant understand why this code doesn't run when I choose 2(-) as my operator but instead gives a 'num1' not defined
python
1 Vote
3 Answers
4th Jul 2020, 10:53 AM
Ibrahim Phenom
Is it possible to call private data member from operator overloading function even when it is not declared as friend function??
c++
0 Votes
3 Answers
6th Aug 2018, 1:32 PM
Shikhar gupta
We known that the * operator is used for declaration of pointer and we can only put the address in the pointer eg int *p=&a;
c++
2 Votes
5 Answers
30th Jan 2018, 7:19 PM
Ankit Rathore
I am trying to do operator overloading in Queue But there is some error in the code. This is project problem of C++ Queue Manage
c++
classes
objects
operator
operator-overloading
0 Votes
3 Answers
16th Jul 2021, 12:05 PM
Rgodella
Can you explain me this?
bitwise
coding
execute
explain
operator
python
python3
sololearn
7 Votes
7 Answers
29th Apr 2018, 4:05 PM
Maninder $ingh
If the time (0) operator is seconds ... then what is minutes and hours or even days maybe?
rand
-1 Vote
1 Answer
5th Jun 2018, 2:55 PM
Fizzleburn
How to overload assignment operator for a class having member as " int * ptr; and A *a;" Here A is class declared in some librar
c++
1 Vote
4 Answers
14th Oct 2019, 1:38 PM
Amit chavare
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
22
23
24
25
Next >
Hot today
What's wrong with this code ? ( Beginner)
4 Votes
Pig Latin
0 Votes
Someone can help me
0 Votes
Please rate my code from 1 to 10
2 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Currently learning C++, I’m getting into socket programming with C++
0 Votes
why do people say programming is hard
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
I’m new someone can help me
0 Votes