Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
When we make an object with new operator then in which memory area is the object created?
.
0 Vote
2 Réponses
17th Aug 2018, 5:01 AM
Shah Kevin
The arrow operator has to be used with a pointer - True or False ????
pointers
0 Vote
1 Réponse
27th Jul 2018, 8:19 AM
Vector The King
How to convert floating point numbers to integers in php when using the module operator
operators
php
1 Vote
1 Réponse
28th May 2017, 3:21 PM
Name Space
Code Coach turns out message that operator and needs two conditions not just one but I thought there are two. Can smb help pls?
python
2 Votes
4 Réponses
16th Dec 2022, 9:17 PM
Sarah
Why isn't the new operator is used to create objects in string and wrapper classes
java
0 Vote
1 Réponse
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 Vote
3 Réponses
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 Vote
2 Réponses
28th Jun 2020, 6:12 PM
Elias Kamakas
Bitwise operators >> and << in Python
bitwise
operator
python
0 Vote
2 Réponses
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 Réponses
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 Réponses
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 Réponses
9th Oct 2019, 10:07 PM
Sanjay Kumar
Have you heard about "down-to" operator?
c
c#
c++
down-to
java
javascript
operator
php
6 Votes
15 Réponses
27th Nov 2018, 5:24 AM
777
What is the purpose for using a modulo operator in qoutient and reminder? How is it worked out?
python3
2 Votes
2 Réponses
28th Feb 2017, 3:59 PM
Benstead Towara
In c++, can the modulo operator (%) be applied directly to floating -point numbers? such as float or double?
@c++
@modulo_operator
challenge
0 Vote
1 Réponse
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 Vote
8 Réponses
29th Sep 2018, 5:10 PM
TEAM ELIMINATOR
Where to use bitwise operators?
bit
bitwise-operator
c#
operator
4 Votes
2 Réponses
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 Vote
7 Réponses
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 Vote
5 Réponses
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 Vote
1 Réponse
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 Vote
2 Réponses
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 Réponses
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 Réponses
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 Vote
4 Réponses
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 Réponses
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 Vote
9 Réponses
15th Jun 2016, 5:53 PM
Tommaso
Does anyone have an idea why isn’t it working??
javascript
operator
operators
switch
0 Vote
3 Réponses
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 Réponses
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 Réponses
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 Vote
2 Réponses
16th May 2020, 10:06 AM
Mustafa Ahmed
Python :=
:=
assign
help
operator
python
2 Votes
3 Réponses
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 Réponses
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 Vote
2 Réponses
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 Réponse
6th Apr 2018, 10:38 AM
Nurman Tajir
Can anyone explain why this nested list behaving weird?
behavior
list
multiplication
nested
operator
python
weird
4 Votes
4 Réponses
23rd Dec 2018, 2:52 AM
OR!ON 🛡️
How can I make the user input mathematical operator and I solve the operation and print the result?
input
java
1 Vote
2 Réponses
7th May 2017, 11:47 PM
nahla
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 Réponses
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 Vote
1 Réponse
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 Vote
1 Réponse
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 Vote
2 Réponses
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 Vote
3 Réponses
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 Vote
5 Réponses
31st Jul 2017, 10:10 AM
Aman Kumar
how to make a calculator the user chose the operator (+ , - , ÷ , × ) .. i can make a siple calculator ..
c#
2 Votes
7 Réponses
22nd Apr 2017, 6:43 AM
Lama Alkattan
Using increment operator using the ++ in example 4, it does not give right answer. Anyone knows why ?
operators
-1 Vote
2 Réponses
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 Vote
3 Réponses
18th Jul 2016, 3:58 PM
Sourav Kumar
How the '&' operator works in if-else statement and What is the difference between '&' and '&&' in logical operation.
3 Votes
1 Réponse
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 Vote
3 Réponses
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 Réponses
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 Réponses
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 Vote
3 Réponses
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 Réponses
30th Jan 2018, 7:19 PM
Ankit Rathore
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
22
23
24
25
Suivant >
Aujourd'hui en vedette
How to allow one instance of exe
2 Votes
Reverse observer pattern : remove dynamic_cast
2 Votes
Python
1 Votes
Theater management help me
2 Votes
What has happened?
1 Votes
What should I add/improve ?
1 Votes
Remove raw pointer from observer design pattern
0 Votes
Should You Specialize or Diversify in Programming?
1 Votes
python beginner needing help
0 Votes
I'm not getting all test cases passed in the Average Word Length problem (in code coach). I'm dropping my code here.
1 Votes