Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Why we can not do overloading on the basis of return type?
c++
5 Votes
2 Answers
2nd Apr 2017, 6:09 PM
$¢𝐎₹𝔭!𝐨𝓝
#include <stdio.h> int main() { int x=7%4*3/2; printf("%d \n",x); return 0;}
c
language
0 Votes
1 Answer
12th Sep 2023, 8:00 AM
ANKIT RAJ
How do i read a file line by line then only return first character of each line?
files
lists
python
strings
1 Vote
7 Answers
15th Mar 2021, 3:54 PM
David Holmes Ng'andu
To end the cout do i need to have return 0; and {}
c++
2 Votes
5 Answers
11th Mar 2018, 2:00 PM
william rivera
How to return function from an object and why we use that in c++?
c++
2 Votes
5 Answers
18th May 2018, 10:25 PM
Hala Hala
can anyone tell me how the return type and function overloading in java done.... i dny knw abt return type pls help
java
1 Vote
2 Answers
23rd Aug 2017, 1:29 AM
Sauvik Saha
Here is an function to return the maximum value among three positive integers.
python3
0 Votes
4 Answers
30th Nov 2020, 5:55 AM
srinithi subramanian
what if at the end of the program I write return 1; instead of return 0; what would happen to my program after compilation
c++
classes
1 Vote
3 Answers
30th Mar 2017, 9:27 AM
Timothy Achibu
What is the use and importance of the "Return type " function and also return 0 .
return
0 Votes
1 Answer
22nd Jun 2018, 6:48 PM
Kanana Kanana
Do all the math class methods return a double value?
classes
java
math
1 Vote
2 Answers
19th Jul 2016, 9:05 PM
Sima Ghoreyshi
How many parameter we can return inside a function?
functions
python
0 Votes
2 Answers
22nd Sep 2016, 8:37 AM
Vahid Iraji
How can i return an answer in a vector
python
0 Votes
2 Answers
3rd May 2017, 8:37 PM
Penny Jacobs
Can anyone elaborate why do we use return 0 and void?
function
return
void
0 Votes
2 Answers
26th May 2019, 8:19 AM
Yash Thakkar
Why the document.getElementById("input").value for an input return undefined as a value?
html
javascript
web
0 Votes
4 Answers
8th Dec 2017, 8:19 PM
Mustafa Ahmed
is it possible to return multiple values from a function ?
c++
0 Votes
4 Answers
21st Aug 2016, 3:46 PM
priyanshu chakarvarti
Why can't we use void as return type of main function?
c++
0 Votes
4 Answers
3rd May 2017, 8:02 PM
Akash Gupta
Why do i need for function "return"?
python
return
1 Vote
4 Answers
9th Jul 2020, 11:19 PM
Лёша Мяло
Can anyone tell me what is the return type of Math.rint() ?
java
0 Votes
3 Answers
22nd Nov 2021, 4:54 PM
Atul
Please how can i make use of the return keyword in python
python
return
1 Vote
3 Answers
26th Jun 2019, 11:21 PM
Ogoh Augustine
I basically want to create a custom confirm box in js that return true and false value
javascript
js
website
1 Vote
10 Answers
15th Mar 2022, 10:55 AM
Deepak Kanojiya
What is 'return' in python?
python
return
3 Votes
2 Answers
13th May 2020, 8:32 AM
Md. Faheem Hossain
Is there a way to use a return method to return a specific element from an array using a loop?
java
0 Votes
1 Answer
20th Sep 2017, 9:58 PM
Sibusiso Mbambo
why we use return in this prog. #include <iostream> using namespace std; int timesTwo(int x) { return x*2; } in
c++
functions
0 Votes
1 Answer
16th Sep 2016, 7:45 AM
Mayur Patil
To check whether the number is palindrome or not and return y or n accordingly
python
-1 Vote
9 Answers
3rd Nov 2020, 2:50 PM
Om Sharma
why, not writing ( return 0) ,doesn't affect the program?
functions
0 Votes
3 Answers
21st Jan 2018, 2:39 AM
Purvank Bhiwgade
What is error in line 19what is return statement need?
code
error
0 Votes
3 Answers
26th Jun 2017, 1:48 PM
esraa ragab
Why the print statements after return won't execute plz explain
functions
python
0 Votes
3 Answers
19th Feb 2016, 6:46 PM
Ajay Pranav
#Using print instead of return , gives output none in last line
or
print
return
1 Vote
2 Answers
28th Apr 2020, 1:26 PM
Kalpna Kushwaha
Is it necessary for python recursive function to return a value??
cs
functions
python
recursion
0 Votes
2 Answers
6th Jun 2021, 5:41 PM
Optimus Prime
sizeof return different values when it is called inside a function
arrays
c++
functions
sizeof
1 Vote
3 Answers
10th Sep 2016, 4:28 PM
Elgee
What is the difference between void main and return
void
0 Votes
2 Answers
19th Dec 2017, 1:59 AM
Jui Kulkarni
In Java For Access Method return types what is a Void?
java
0 Votes
2 Answers
15th Jul 2020, 11:05 AM
-·· ·- -·
How do I return the ASCII value of a char variable?
c++
variables
0 Votes
4 Answers
2nd Jan 2017, 10:01 AM
Jeffrey Cheeseman
I need help in python !
python
return
2 Votes
6 Answers
1st Jan 2018, 1:14 PM
andrebtw
How can we use return function twice or more at a time
function
html5
javascript
1 Vote
2 Answers
23rd Jan 2020, 11:02 AM
piyush raj
Why it’s return “truefalse”? I think this is due to the nuances of data types
data-types
javascript
type-conversion
0 Votes
6 Answers
3rd Jun 2020, 12:14 PM
Aleks
Can somebody please tell me where the mistake in this code is? the programm is telling me "missing return statement"
beginner
needhelp
ownmethod
2 Votes
26 Answers
2nd Sep 2017, 9:28 PM
King Buakaw
This c++ code return index of array correct but if value not found then not returning appropriate return what is the problem
c++
0 Votes
1 Answer
24th Apr 2020, 3:32 AM
rajendra
Please why is the condition always returning true
return
true
5 Votes
4 Answers
24th Feb 2018, 3:14 AM
Sammy
How do I return -1 using match() method if a search is not found?
javascript
match()
return
1 Vote
5 Answers
27th Oct 2020, 9:03 AM
Logos
#include <stdio.h> int main() { int c=50; for(;c;) c--; printf ("c=%d",c); return 0; }
=0
c
why
0 Votes
4 Answers
27th Dec 2020, 9:43 AM
Ankit Kumar
I am still having troubles understanding the return value concept.
c++
0 Votes
2 Answers
31st Mar 2020, 1:29 AM
Khevlar
what purpose we use return statement, what are the necessities?
javascript
return
1 Vote
2 Answers
7th Sep 2016, 3:12 PM
Vijay Kumar
return type as (void *) but returning interger value.
c
function
pointers
void
0 Votes
2 Answers
11th May 2017, 2:22 PM
Pranjal Upadhyay
How is return different than print? other than syntax
functions
python
0 Votes
2 Answers
8th Feb 2016, 5:30 AM
JK SGF
what values van we return to main method call?
c
0 Votes
1 Answer
4th Jan 2019, 2:43 AM
Anurag Tripathi
Anybody please help me to know about return 0;
c++
0 Votes
2 Answers
18th Jan 2017, 5:21 PM
Slechu
What will happen if i return other than 0?
c++
operators
0 Votes
2 Answers
3rd Feb 2017, 4:29 AM
Rahul Sk
Can any one help me with understanding return operator
python
0 Votes
2 Answers
29th May 2017, 12:56 AM
MADRIDISTA 2133
What is return value and what is its use?
c++
0 Votes
2 Answers
4th Sep 2016, 9:22 AM
ANKUR POWAR
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
23
24
25
...
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
Web Development
0 Votes
Cybersecurity techies
3 Votes
Please complete this code.
0 Votes
Can someone please explain python for me
0 Votes
Can u learn multiple language at the same time, without misplacing the formats of each with the other
0 Votes
What's wrong with code?
0 Votes