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
Rearrange the code to declare a template function "greater", taking two arguments and returning the greater one. Arguments are o
1 Vote
2 Réponses
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 Vote
5 Réponses
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 Votes
2 Réponses
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 Vote
3 Réponses
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 Vote
1 Réponse
25th Feb 2020, 5:37 PM
Arshia
Is function have really different return type if yes then how? By returning it?
functions
1 Vote
2 Réponses
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 Vote
3 Réponses
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 Votes
2 Réponses
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 Vote
2 Réponses
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 Vote
2 Réponses
5th Mar 2020, 9:24 AM
Mansa Saxsena
solve it
from
functions
returning
0 Vote
1 Réponse
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 Vote
3 Réponses
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 Votes
6 Réponses
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 Votes
3 Réponses
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 Vote
5 Réponses
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 Vote
4 Réponses
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 Vote
4 Réponses
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 Vote
4 Réponses
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 Vote
3 Réponses
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 Vote
2 Réponses
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 Vote
2 Réponses
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 Vote
6 Réponses
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 Votes
4 Réponses
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 Vote
5 Réponses
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 Vote
1 Réponse
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 Vote
1 Réponse
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 Vote
1 Réponse
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 Vote
4 Réponses
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 Vote
2 Réponses
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 Vote
1 Réponse
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 Vote
5 Réponses
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 Vote
3 Réponses
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 Vote
2 Réponses
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 Vote
5 Réponses
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 Vote
4 Réponses
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 Vote
2 Réponses
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 Vote
1 Réponse
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 Votes
2 Réponses
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 Vote
6 Réponses
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 Votes
2 Réponses
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 Vote
2 Réponses
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 Vote
4 Réponses
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 Vote
1 Réponse
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 Vote
2 Réponses
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 Vote
3 Réponses
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 Vote
1 Réponse
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 Vote
1 Réponse
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 Vote
1 Réponse
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 Vote
1 Réponse
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 Vote
2 Réponses
15th Jul 2017, 4:44 PM
zerovalue
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
3
4
5
Suivant >
Aujourd'hui en vedette
New code
1 Votes
Does anyone have the solution for this challenge?
1 Votes
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Why does coding take so long to learn
0 Votes
Solved# Survey data format in coding for data
1 Votes
Solved Ai generated practice the last question
0 Votes
How to add unordered lists in HTML.
0 Votes
Why is it so hard to get a job as a junior dev? Or just wanting to do an internship.
1 Votes
What is the use of .kt classes in the React Native project
0 Votes
Kernel in Jupyter
1 Votes