Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
If we use returnable data type for declaring main .... where does it returns the value?
c++
functions
0 Votes
2 Answers
27th Apr 2018, 5:21 AM
Jason
Is it possible for you to use two different int main () when writing a program
c++
2 Votes
2 Answers
1st Mar 2017, 12:24 AM
Charles Oselukwue
I had declared a variable in a method. how can I call the variable in the main method?
c#
methods
0 Votes
5 Answers
31st Oct 2016, 8:46 AM
Fikri Buih
What's namespace and what's it's use and why main function is declared inside namespace........
c#
input
0 Votes
2 Answers
4th Jan 2017, 6:15 PM
Nitin Kumar
why subscripted and superscripted text are used? what's their main influence inthe paragraph? basics..
formatting
html
0 Votes
2 Answers
7th Aug 2016, 3:46 PM
kushal singh
What skills of a person in order to learn the Java Computer Programming Language?
java
main
programming
1 Vote
4 Answers
25th Jun 2017, 4:39 AM
Kendra
how to read input into main class variables from console to run as gradle project
input
0 Votes
1 Answer
23rd Jul 2020, 10:35 AM
raju sahu
Why does the first main function need "%s" in order to print out the text and second one does not?
c
1 Vote
3 Answers
25th Feb 2020, 4:47 PM
Woody Lin
Why is the method retieveBalance() and getAccountNumber() not showing anything in main when I call them using the object?
c++
0 Votes
2 Answers
18th Nov 2019, 11:37 PM
MASANGA KAUKA MUDENDA
What is the difference between initialising a variable below a class and initialising below main method in java ?
compiler
java
jdk
0 Votes
4 Answers
3rd Jan 2020, 5:22 AM
Asharaf K
CAN WE WRITE include <iostream> and below that using namespace std; and int main () in pc
cpp
how
start
to
0 Votes
4 Answers
5th Jul 2017, 4:12 PM
Aryan Shiv . R
What is different the version of phyton 2.0 and phyton 3.0 ? _Please to explain, for the main point only. Thank you
phyton
2 Votes
8 Answers
11th Feb 2018, 1:57 AM
Sujanggy Adi
In java why do we use Public and static in the main function/block ?
java
0 Votes
2 Answers
23rd Jul 2017, 7:40 PM
Shrikant Narvekar
passing array as arguments specx range of array at main func?is the foll snippet wrong
arrays
c++
functions
0 Votes
2 Answers
15th Aug 2018, 10:27 AM
Charlie
For Java, can I create an individual class outside of the main method on SoloLearn?
class
java
string
1 Vote
1 Answer
19th Nov 2018, 7:16 PM
Lucas Waldrop
Why in java we have to write class name same as file name?? And without same name it shows that main function cannot load?
java
2 Votes
5 Answers
22nd Oct 2019, 5:13 PM
Gaurav Rawat
How to brackets declare in this program????
declaration
function
main
2 Votes
3 Answers
5th Feb 2018, 4:55 PM
mohammed meeran
Can we use final keyword with main() method?
final
java
main
method
3 Votes
3 Answers
19th May 2019, 3:54 PM
Vaishnavi Rajkumar Pawar
Why does it say that main will not return a value beacuse it has void, yet it does return the value of 7?
methods
0 Votes
7 Answers
4th Jul 2020, 7:29 PM
Don
Using return 0 or 1 or 2 to close main function giving same result why?
c++
2 Votes
1 Answer
27th Oct 2017, 2:48 AM
Shubham Sharma
can i skip my css tutorials and engage my self with javascript because javascript is my main target?
javascript
0 Votes
3 Answers
29th Dec 2018, 9:12 PM
Chinweike Michael Chinonso
What is the meaning of "a function which does not return a value" and " a function returns some value" ?? Please send the answer
c++
functions
main
void
3 Votes
7 Answers
28th Jul 2017, 10:20 AM
Yasir Faiz Ahmed
I am having a problem with configuring webpack for a react app.My main problem is around the issue of babel.
babel
development
npm
web
webpack
0 Votes
4 Answers
2nd Jun 2020, 5:18 AM
prime omondi
What is the parameter of "int main()" in C ? Does this even take any?
c
function
main
3 Votes
2 Answers
29th Jan 2018, 10:01 AM
Akib
Why does the main method have to come before the Case method in this case please?
java
methods
0 Votes
3 Answers
12th Dec 2016, 6:19 AM
Soaga Kingsley
Can someone tell me the main differences between the command prompt and the powershell please? :)
dos
powershell
windows
1 Vote
2 Answers
4th Jan 2017, 9:29 PM
Davide Piazza
Is there a way to make a variable that runs throughout all the programs functions classes and main
hhh
1 Vote
2 Answers
29th Jun 2019, 11:37 AM
Mo Kid
[Personal question] What is your main use of sololearn and how do you improve your skills with it
community
question
sololearn
xp
2 Votes
3 Answers
9th Oct 2017, 6:57 AM
Chrizzhigh
How to make the main thread call a random thread and that thread should respond with its number
c#
multithreading
1 Vote
2 Answers
4th Jun 2021, 7:35 PM
Jerry Decoder
I need help on how to fix two images together using background-images, position,size, for the main body with css
css
html
0 Votes
3 Answers
27th Jul 2022, 11:28 AM
Oghemenosen Peter God'spower
What are the main uses of the libraries conio.h and stdlib.h? (besides letting you open a .exe) Can you change the text color?
c++
conio.
stdlib.
2 Votes
4 Answers
28th Aug 2019, 12:01 AM
-DSaus-
What are main differences and similarities between methods in C# and functions in JavaScript?
c#
functions
javascript
methods
0 Votes
1 Answer
18th May 2018, 8:58 PM
Taulant Sulko
Does needing an input make it possible to define functions after the main function.
c++
0 Votes
1 Answer
25th Jan 2017, 4:30 PM
emily gilespie
Can we open a saved html document on other device without its main files?
css
html
1 Vote
1 Answer
1st Dec 2017, 10:44 AM
Abhishek Pawtekar
mujhe yeh wala program samaj main nahi aaya jab k: int a=100; b=50; toh iss ka answer 50 kaisa aaya?
c++
0 Votes
6 Answers
12th Jul 2016, 11:09 AM
himanshu arora
What is difference of void main() and int main()
()
int
main
void
2 Votes
3 Answers
6th Mar 2021, 4:03 PM
Fahad Ahamed
Why this program is not running with Scanner correct instead of when i using main method the following program get run correct?
doubt
java
scanner
1 Vote
7 Answers
11th Oct 2018, 3:31 AM
Harsh Agrawal
In C and C++ Main function doesn't return any value then why we prefer it's return type as int?
data-types
return
1 Vote
3 Answers
19th Jun 2018, 5:47 PM
Bhautik Donga
What is the main difference between the c++ and python? And Which is the best language?
c++
python
1 Vote
2 Answers
19th Jul 2017, 12:57 AM
THARANI KUMAR.K
What is the main use of namespace? And what if we don't use it in our program?
c++
namespaces
2 Votes
2 Answers
2nd Feb 2017, 1:11 PM
Ashu Bagul
Argument2 return 0 when i call kn main this fonction should return the anglein degrees between the the two point a ,b
java
0 Votes
6 Answers
13th Mar 2021, 9:36 PM
El mhadji Mohamed abdelhak
In java the interface should have same name as file name, at the same time my main class also should have same name as file name
interfaces
java
3 Votes
7 Answers
2nd Aug 2019, 6:42 PM
Govindaraju C
What is the meaning of static and void in public static void main in java programing ??
comments
java
static
0 Votes
2 Answers
7th May 2018, 2:55 PM
Rohit
In c++, why do people use "int main()" instead of "void main() "? Does the former have any advantages over the latter?
c++
cpp
main
question
1 Vote
6 Answers
17th Mar 2018, 11:42 AM
binoy john
How can i add a link for a button ( for example) and go todo the main page of muy web?
html
links
4 Votes
4 Answers
27th Jul 2016, 3:16 AM
ismarlin santiago chalas martir
Write a program in a language c++ to print the top triangle above the main diagonal of the quadrilateral matrix.
c++
-1 Vote
4 Answers
29th May 2021, 12:39 PM
Jhk Jhik
Using method
class
java
main
methods
string
4 Votes
6 Answers
5th Jun 2017, 12:28 PM
Jasurbek Kalandarov
Can there be more than one 'main' method in different classes??
classes
different
main
1 Vote
3 Answers
2nd May 2017, 1:12 PM
Ahmed Imtiaz Ferdous
I am Just beginer, and i can not understand What is the Main difference between privet and protected in c#?
c
c#
0 Votes
3 Answers
6th Sep 2019, 7:31 AM
Павел
int foo(int n,int r){ if(n>0) return (n%r+foo(n/r,r)); else return 0; } int main (){ printf("%d",foo(345,10)); }
pleaseexplain
0 Votes
1 Answer
9th May 2020, 8:05 AM
Karan Dewangan
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
22
23
24
...
29
Next >
Hot today
Thread local : global vs local
0 Votes
Postgrrsql and python
0 Votes
What are these purple cubes good for?
0 Votes
Codding lern
0 Votes
Data Analysis Course
1 Votes
Is there LUA?
0 Votes
url of code playground for HTML, CSS & JS
0 Votes
Web vs python
0 Votes
tabla empleados sql
0 Votes
Which courses should i take for robotics?
0 Votes