Cursos
Cursos
Compilador de Código
Compilador de Código
Discutir
Teams
Fazer login
Registrar
Menu
Q&A Discussões
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
I can't find out why my code is returning 0, could someone please help?
help
0 Voto
4 Respostas
29th Apr 2019, 1:04 PM
JOE DAVIS
Rearrange the code to declare a template function "greater", taking two arguments and returning the greater one. Arguments are o
1 Voto
2 Respostas
27th Feb 2017, 7:34 PM
saranya durairaj
What do we mean by returning a value when we use int main function?
c++
cout
0 Voto
5 Respostas
19th Dec 2016, 6:31 PM
Rubbiya Kamal
What is returning a value in c++?Why is it necessary to return a value?
c++
4 Votos
2 Respostas
9th Mar 2017, 5:01 PM
Sudarshan Zinjurde
Issue with "incompatible type" when returning a value from a for loop.
debug
debugginghelp
help
incompatibletype
malfunction
return
-1 Voto
3 Respostas
24th Sep 2017, 12:17 AM
Damiano Marsili
Please explain the codes snippet how the code working and returning 1 10?
bit
code
shift.
0 Voto
1 Resposta
25th Feb 2020, 5:37 PM
Arshia
Is function have really different return type if yes then how? By returning it?
functions
1 Voto
2 Respostas
16th Feb 2019, 2:56 PM
Dash
Please help me ,in my code,it is not returning any value?please tell me my mistakes.
return
1 Voto
3 Respostas
8th Aug 2019, 1:40 PM
Prabhjot Singh
Hello. I don't in understand clearly about returning from function. Could you explain me more?
functions
python
3 Votos
2 Respostas
29th Aug 2016, 1:21 AM
MA DUONG
solve it
from
functions
returning
0 Voto
1 Resposta
6th Nov 2022, 5:49 AM
Abhishek Maheshwari
Will anybody please edit this code so it starts returning sum of values for ex-42 output-6
python
0 Voto
2 Respostas
31st Oct 2020, 8:48 AM
Japjot Singh Chauhan
Can anyone explain this behavior of the increment operation? Why 5 6 7 is not returning
c
code
0 Voto
2 Respostas
5th Mar 2020, 9:24 AM
Mansa Saxsena
Can you help me explain this choice, how it's returning 6? It's one of the practice codes.
help
0 Voto
3 Respostas
14th Mar 2021, 4:31 AM
Shubham Sharma
My code is returning an uncaught error and my css has no effect...like im completely list. Cab someone help me?
css3
html5
javascript
website
2 Votos
6 Respostas
24th Sep 2019, 9:15 PM
Ife Abimbola-Olulesi
Why does returning the "NotImplemented" object raise a "TypeError" only when the objects are separated by the plus sign?
__add__
notimplemented
python3
2 Votos
3 Respostas
6th Aug 2021, 8:13 PM
Calvin Thomas
Rearrange the code to declare a method returning the greater of the two arguments. return a; } public int max(int a, int b) { }
java
methods
-1 Voto
5 Respostas
4th Jul 2017, 7:38 AM
Walter Mugo
If i increment the pointer and pass it to function why it prints address after returning to main??
c
c++
function-arguments
functions
increment
main
pointers
variables
0 Voto
4 Respostas
27th Dec 2018, 2:56 PM
Rohit
My visual studio for python is always returning values in terminal, what can I do to correct this?
dataScience
python
0 Voto
4 Respostas
29th Apr 2020, 9:04 AM
David Oloruntola
Check the code in the description for a return issue. What's the difference between printing and returning a value ?
or
print
return
0 Voto
4 Respostas
1st Aug 2019, 5:32 PM
The unknown 321
Consider this program: Q. Why it is returning size of var as 4 where var is an integer
sizeof
0 Voto
3 Respostas
25th Jun 2019, 3:55 PM
Kulvardhan Singh Rathore
Why is the fuction returning a 0 and None instead of the numbers within the range.
python
1 Voto
2 Respostas
7th Jan 2018, 11:36 AM
Kane A. Scott
How to write test cases for a function which is returning another lamda function in angular ?
angular
0 Voto
2 Respostas
31st Mar 2022, 8:01 AM
Developer
Why can't I import modules into my thonny ide. I downloaded the graphics.py module but it keeps returning "no module named...
failed
import
modules
package
path
python
thonny
0 Voto
6 Respostas
30th Aug 2020, 2:10 PM
Marvin Neba Newton Ngwa
File handling . This code is returning blank lines. Tryingto make a program to make you sleep. Is incomplete btw
filehandling
program
python
python3
0 Voto
5 Respostas
3rd Nov 2019, 5:22 PM
Dhruv Dutta
Whta's the difference btn returning a value and actually printing out the value on the user computer screen ?
c#
c++
java
js
methods
output
return
2 Votos
4 Respostas
5th Dec 2016, 6:58 AM
Ntirpang Louis
Can somebody provide your reason for the below statement? 2==2.0 returns true. Why it is returning true?
if-statements
python3
0 Voto
1 Resposta
23rd Jul 2019, 12:47 PM
Magesh Santhamani
I want to continue a loop but after returning a value ?? [Detail in description]
c++
code
loops
return
1 Voto
1 Resposta
15th Jan 2017, 8:19 PM
Siddharth Naithani
If i use int in place of void without returning any value....the code still running
c++
0 Voto
1 Resposta
4th Jul 2016, 2:46 PM
Ankit Bisht
guys i expect this program to give me product of nos i enter...but its returning me 1...plz explain why
functions
loops
sololearn
tuples
0 Voto
4 Respostas
11th May 2020, 8:15 PM
PRO
Super Duper Beginner: Why is my code returning the correct print but also None. any other comments welcome:)
beginner.
python.
0 Voto
2 Respostas
17th Jul 2022, 7:13 PM
Butters
I've written some query does this all are good for returning same result or some query will give different rows?
dbms
1 Voto
1 Resposta
6th Sep 2019, 4:49 AM
Preity
Why the return type is void* ,why not int because the function square is returning result which is of int type ?
void
0 Voto
5 Respostas
4th Jan 2019, 3:33 AM
Ganesh Moota
Is it necessary to use function as a pointer while returning array from other function to main function in c?
arrays
functions
0 Voto
3 Respostas
22nd Jan 2019, 7:25 AM
Ankit Sharma
What do you mean by " a function will perform the desired operations without returning a value" ??
c++
functions
1 Voto
2 Respostas
5th Oct 2016, 6:07 PM
Devansh Kaushik
I always read about returning values and it explains that the return keyword returns a value, but what does that even mean?
c#
c++
java
1 Voto
5 Respostas
5th Jan 2017, 12:03 PM
Lily Awertnex
Guys really really need help, my kali is returning with apt-secure(8) error while I try to update using "apt-get update" ...
kali
0 Voto
4 Respostas
24th Jun 2018, 5:37 AM
Mr Doom
What is the difference between returning values from a function and passing by output e.g. myFunc(out a, out b)
c#
function-arguments
functions
passing
1 Voto
2 Respostas
1st Jul 2017, 7:46 AM
Haider Ali
Will it throw error or crash if we use the void returning method in a assignment statement?
c#
methods
void
0 Voto
1 Resposta
9th Aug 2016, 11:50 AM
Antony Stinil
Please help in explaining this JavaScript code.I am able to understand this code and how it is executed and returning 10 from it
functions
javascript
return
2 Votos
2 Respostas
13th Jul 2019, 3:55 PM
Ashish
Dubt converting str to float - Why the result is returning as a float if i didnt made the conversion of str to float?
python
0 Voto
6 Respostas
18th Jul 2018, 2:03 PM
André Costa
i am trying to use dirent.h to check whether a file is present in a directory but it is not returning anything
c++
dirent.h
4 Votos
2 Respostas
12th Feb 2018, 11:56 AM
shobhit
Difference between, or reason for, a function returning a value verses one that does not return a value.
c++
functions
value
0 Voto
2 Respostas
21st May 2017, 1:30 PM
Peter Jones
Random int generator + if / else if / else ) 1 through 5 . .. always returning false .. why??
if-statements
math
-1 Voto
4 Respostas
23rd Feb 2017, 5:04 PM
Sonny mbiam
The following code must retrun True,True then False and False but it is returning True,False,False and None.help fix this.
begginer
code
python
0 Voto
1 Resposta
22nd Mar 2019, 2:37 PM
Bikal Shrestha
Please help in explaining this JavaScript code.I am able to understand this code and how it is returning false in both cases
booleans
constants
javascript
variables
1 Voto
2 Respostas
14th Jul 2019, 6:16 AM
Ashish
Why write method is behaving differently in code 1 and code 2. In code1 it is writing and in code2 it is returning length of msg
python3
0 Voto
3 Respostas
19th Aug 2020, 2:31 PM
Gubbala Saisree
What is the use of magic method __add__?? In below code why result not returning addition of first and second???
magic-methods
python
0 Voto
1 Resposta
21st Feb 2018, 5:48 PM
Pankaj Kumar
Having serous trouble with this coding. Similar to findNode, but rather than returning the node that contains the target, instea
arraylist
java
0 Voto
1 Resposta
30th Apr 2020, 6:50 PM
Benjamin
What is the use of magic method __add__?? In below code why result not returning addition of first and second???
magic-methods
python
0 Voto
1 Resposta
21st Feb 2018, 5:48 PM
Pankaj Kumar
This c++ code return index of array correct but if value not found then not returning appropriate return what is the problem
c++
0 Voto
1 Resposta
24th Apr 2020, 3:32 AM
rajendra
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
< Anterior
1
...
3
4
5
Próximo >
Quente hoje
Help please?
3 Votes
How to get better with problem-solving and programming
1 Votes
Ejercicio Pytho
0 Votes
Odd even threads without condition variable
0 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
SQL practice
2 Votes
Game development
0 Votes