Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
How to improve code readability
python
readable
return
0 Votes
10 Answers
8th Mar 2025, 5:33 AM
Ketan Lalcheta
"Void function does not return any value "- What does this actually mean?
1 Vote
2 Answers
5th Apr 2018, 5:16 PM
Rajat C. Ghatode
How do I return the sum of the positive numbers in my array?
arrays
ruby
2 Votes
4 Answers
30th Jan 2022, 10:56 PM
hamish
What does return actually mean? What does it give the user?
c++
0 Votes
5 Answers
12th Jun 2016, 7:23 AM
ethan
How to return value by function in any programming language ?
.net
c
c++
java
javascript
php
python
ruby
vb6.0
1 Vote
3 Answers
24th Sep 2018, 8:22 AM
Sandeep Kushwaha
Why does this method return something while void is being used?
java
methods
return
void
0 Votes
5 Answers
13th Feb 2017, 1:00 PM
indymaat
Why is "return 0" written in the end of main() function, and why not anything other than that to be returned?
main
return
2 Votes
8 Answers
9th Mar 2018, 9:39 AM
Amlan Abhilash Mishra
What will return this function in the console?
c++
0 Votes
1 Answer
30th Jan 2017, 9:39 PM
Igor
How to run code again without return 0?
c++
return
run
0 Votes
1 Answer
12th Sep 2016, 2:00 PM
Squik
What is the d/nce b/n return and document.write
javascript
return
-1 Vote
1 Answer
21st Jun 2021, 6:06 PM
Predator
Why we have put in program return 0?
c++
return
0 Votes
1 Answer
10th Jul 2016, 6:27 AM
THEJ VIJAY
Return 0; in other languages other than cpp?
cpp
return
return0;
0 Votes
1 Answer
18th Jan 2018, 2:58 AM
Niyaz Murshid
Even if I don't add a 'return' statement, the program still runs and gives same output. Can anyone pl explain the difference?
return
1 Vote
2 Answers
2nd Nov 2016, 7:37 AM
Samyak
#include <stdio.h> int main() { int a=1; printf ("%d%d%d",a,++a,a++); return 0; }
c
logic
0 Votes
3 Answers
6th Apr 2022, 4:42 PM
Janvi Desai
How can we use return statement in for loop in place of break?
js
2 Votes
3 Answers
15th Jun 2019, 2:19 AM
Pratibha Bhadouriya
is it necessary use return data type when define a function in preprocessor directive?
c++
preprocessor
3 Votes
3 Answers
7th Apr 2019, 11:09 AM
Alireza Abbasi
int main() { int i=0,j=1; for(i;i<5;i++); j=i+j; cout<<j; return 0; }
c++
0 Votes
2 Answers
2nd Apr 2020, 7:03 AM
BLACK GOD
Return function returns value at the end of the code ?
functions
python3
0 Votes
4 Answers
19th Mar 2020, 5:40 AM
Saurabh Sen
question:If you do not want your method to return a value, you should use the return type: ansver: void
c#
methods
-2 Votes
2 Answers
30th Dec 2016, 6:04 AM
Alper
why we write return 0 only I tried to write return 7282 and it still work . what's the reason?
c++
0 Votes
2 Answers
10th Jul 2016, 10:23 AM
RozeAbel
How to return an object from a function in c++?
objects
2 Votes
2 Answers
4th Feb 2018, 8:10 PM
aravind
I organized my code into functions but I can't return the values. What is wrong?
def
functions
python
python3
0 Votes
8 Answers
24th Aug 2022, 11:42 PM
Nícolas Nascimento
What is return type of print and input function in python?
functions
python3
1 Vote
3 Answers
25th Dec 2018, 5:45 PM
shreyash joshi
Why return 0; is used i need proper some proper explanation
c++
1 Vote
2 Answers
28th Jul 2019, 11:47 AM
Kishore
Swap row and column and return output create copy of array
numpy
python3
-1 Vote
4 Answers
28th Dec 2020, 4:00 PM
SAADAT ALI
what's meaning the symbol "!" before a function ? return something different ?
javascript
syntax
0 Votes
3 Answers
29th Sep 2019, 12:16 PM
Oneill~Онеилл~奥尼尔~ओनील~اونیل~*
how can i create a pause menu and a return button script
c#
pausemenu
returnbutton
unity
0 Votes
6 Answers
13th Apr 2017, 9:29 AM
Upendra Juneja
Can we overload a function with the help of its return type?
c++
1 Vote
3 Answers
27th Dec 2019, 6:46 PM
Siddharth Darnal
It is necessary to put return 0 in void main or in any other function if you don't need to return anything?
c#
c++
javascript
0 Votes
3 Answers
25th Nov 2016, 12:22 PM
Manolache Gabriel Ionuț
Is it possible to return more than one value in java?
coding
corejava
java
1 Vote
2 Answers
17th Feb 2020, 2:11 PM
palak pandey
RegExp to return true only when a character appears once. [Solved]
javascript
regular-expressions
0 Votes
2 Answers
13th Oct 2020, 8:20 PM
Devotha Mwenda
What do you mean by return type? Explain with an example
c#
1 Vote
2 Answers
26th Aug 2018, 12:35 PM
Kavish Bamboli
How does the "double" return work in this task?
beginner
c
0 Votes
1 Answer
27th Feb 2021, 8:52 PM
Michael Townley
When do we use print and when do we use return in Python?
python
0 Votes
6 Answers
19th Jul 2018, 12:46 PM
Nitin Gutte
Why does typeOf return object instead of array in array data type?
javascript
1 Vote
3 Answers
17th Jul 2020, 12:13 PM
Anyanwu Johnbosco Chima
How do I make my codes return output when zero is inputed
python
3 Votes
2 Answers
13th Aug 2021, 9:28 AM
Wisdom Ademiju
how to make it return the input with a sentence
python3
1 Vote
1 Answer
9th Sep 2020, 3:54 AM
Shuarma
Why not in most beginner C++ exercises there is no built-in return 0; ?
c++
doubt
help
rookie
2 Votes
2 Answers
25th Jan 2023, 1:01 AM
Adrian Ochoa
What is the difference between cout and return while defining a function??
c++
cout
function
return
2 Votes
2 Answers
27th Feb 2018, 3:21 PM
Yogesh Yadav
Is it necessary for an 'int' type function to return a value ?
c
c++
0 Votes
4 Answers
22nd Apr 2019, 3:20 PM
Aman Jain
why output is 8?
functions
operands
return
1 Vote
8 Answers
28th Feb 2023, 10:04 PM
Andrew The Python Slayer
Does sum() function in Python converts the output into string? Or Is the return type of sum() is string??
arraylist
lists
python3
sum()
1 Vote
15 Answers
25th Aug 2020, 2:30 PM
_/`Juju`\_
What does the "return" command do in c++ and c language? What is the role of the" return y or return 0" line in the code?
c
c++
code
comments
language
return
2 Votes
2 Answers
2nd Mar 2021, 3:10 PM
Cem köylüoğlu
Can the return type if a function be an array? -C++
array
c++
function
3 Votes
2 Answers
19th Aug 2017, 4:48 PM
Jannik Wagner
Why does 4 -"8" return as -4 while 7 +"2" returns as 72 in js?
js
3 Votes
5 Answers
7th Jul 2020, 7:43 AM
Hridita Paul
#include <stdio.h> int main() { printf("%d"+1, 123); printf("\n%d\n"); printf("%%d"); return 0; }
c
0 Votes
3 Answers
18th Aug 2017, 4:44 PM
SAURAV KUMAR
#include<stdio.h> int main(){ int a=5; static int b=a; printf("%d %d",a,b); return 0; }
c
-1 Vote
6 Answers
25th Dec 2016, 7:49 AM
Arpitha G R
my java method is requiring a return statement after the if else statement
if-statements
java
methods
1 Vote
4 Answers
3rd Aug 2021, 8:34 PM
Adewale IyanuOluwa
How do I return the result of my calculator?
arrays
dom
html
javascript
0 Votes
1 Answer
20th Nov 2018, 4:08 AM
Thomas Czernek
Can we use a ternary operator under return in react hooks ??
hooks
javascript
jsx
react
1 Vote
2 Answers
8th Aug 2020, 4:12 PM
Vishnu Aditya
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
22
23
24
...
45
Next >
Hot today
Is this realistic enough?
2 Votes
"Which is harder to master — Machine Learning or Cybersecurity? And why?"
1 Votes
Need friends
0 Votes
"What’s the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
I am a beginner, please teach me how to use Python
0 Votes
MASS N NUMBER OF OBJECT DELETION FROM A CLASS
0 Votes
Web Development
0 Votes
Please complete this code.
0 Votes
Cybersecurity techies
2 Votes
Can u learn multiple language at the same time, without misplacing the formats of each with the other
0 Votes