Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Precios
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
Rearrange the code to declare a template function "greater", taking two arguments and returning the greater one. Arguments are o
1 Voto
2 Respuestas
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 Votos
5 Respuestas
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 Respuestas
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 Respuestas
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 Votos
1 Respuesta
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 Respuestas
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 Respuestas
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 Respuestas
29th Aug 2016, 1:21 AM
MA DUONG
Will anybody please edit this code so it starts returning sum of values for ex-42 output-6
python
0 Votos
2 Respuestas
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 Votos
2 Respuestas
5th Mar 2020, 9:24 AM
Mansa Saxsena
solve it
from
functions
returning
0 Votos
1 Respuesta
6th Nov 2022, 5:49 AM
Abhishek Maheshwari
Can you help me explain this choice, how it's returning 6? It's one of the practice codes.
help
0 Votos
3 Respuestas
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 Respuestas
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 Respuestas
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 Respuestas
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 Votos
4 Respuestas
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 Votos
4 Respuestas
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 Votos
4 Respuestas
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 Votos
3 Respuestas
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 Respuestas
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 Votos
2 Respuestas
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 Votos
6 Respuestas
30th Aug 2020, 2:10 PM
Marvin Neba Newton Ngwa
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 Respuestas
5th Dec 2016, 6:58 AM
Ntirpang Louis
File handling . This code is returning blank lines. Tryingto make a program to make you sleep. Is incomplete btw
filehandling
program
python
python3
0 Votos
5 Respuestas
3rd Nov 2019, 5:22 PM
Dhruv Dutta
Can somebody provide your reason for the below statement? 2==2.0 returns true. Why it is returning true?
if-statements
python3
0 Votos
1 Respuesta
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 Respuesta
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 Votos
1 Respuesta
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 Votos
4 Respuestas
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 Votos
2 Respuestas
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 Respuesta
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 Votos
5 Respuestas
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 Votos
3 Respuestas
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 Respuestas
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 Respuestas
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 Votos
4 Respuestas
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 Respuestas
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 Votos
1 Respuesta
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 Respuestas
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 Votos
6 Respuestas
18th Jul 2018, 2:03 PM
André Costa
Difference between, or reason for, a function returning a value verses one that does not return a value.
c++
functions
value
0 Votos
2 Respuestas
21st May 2017, 1:30 PM
Peter Jones
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 Respuestas
12th Feb 2018, 11:56 AM
shobhit
Random int generator + if / else if / else ) 1 through 5 . .. always returning false .. why??
if-statements
math
-1 Voto
4 Respuestas
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 Votos
1 Respuesta
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 Respuestas
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 Votos
3 Respuestas
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 Votos
1 Respuesta
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 Votos
1 Respuesta
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 Votos
1 Respuesta
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 Votos
1 Respuesta
24th Apr 2020, 3:32 AM
rajendra
Anyone say "I give up, this stuff is not for me" a thousand times over, but keep returning like a junkie?
c++
0 Votos
2 Respuestas
15th Jul 2017, 4:44 PM
zerovalue
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
...
3
4
5
Siguiente >
En tendencia hoy
Hello World!
0 Votes
What is wrost mistake that mostly people made while learning coding?
0 Votes
I'm lost with JavaScript (document.getElementById(".") And clearly making mistakes, Can someone help, I thought I had it but no.
0 Votes
What’s the actual difference between MB and GB in real-world usage?
1 Votes
Script file names
0 Votes
How to put multiple inputs in python?
1 Votes
Html learn
1 Votes
Je cherche des gens qui parle français pour apprendre le langage c
0 Votes
What can I do after learning python and how to create amazing codes. And how many times it would take to be a good programmer😅
0 Votes
I wish Ruby back in the course list
1 Votes