Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Can we declare main as void and not use return statement
c++
0 Votes
6 Answers
14th Nov 2016, 11:00 AM
Shreyash Mundhra
What is HTTP?? ....what is it's main function....and what we can do with that??
http
4 Votes
8 Answers
2nd Jun 2018, 5:59 PM
InFinite
Cómo hago para programar en lenguaje Java con mi celular
main
0 Votes
1 Answer
19th May 2019, 4:09 PM
Sergio Rodmm
How de we pass another class as arguement in main class
inheritance
0 Votes
6 Answers
5th Jun 2017, 1:05 AM
Abhishek Joshi
What is the main difference between <div> and <class> in HTML?
class
css
div
html
html5
java
javascript
xhtml
3 Votes
3 Answers
1st Dec 2017, 6:13 AM
Jaydip Thakkar
why need to create new object inside main function?
classes
java
methods
objects
0 Votes
2 Answers
6th Aug 2018, 4:30 AM
Sony Jocom
why static keyword is written in methods (other than Main method)?
c#
methods
4 Votes
3 Answers
30th Sep 2016, 1:38 AM
Aishwarya
For my main goal AI, What should I do next ?
ai
python
sololearn
1 Vote
2 Answers
25th May 2020, 7:35 PM
Adam !
what does int mean in the main function in c++
does
in
int
main()
mean
what
1 Vote
2 Answers
7th Aug 2018, 7:06 AM
Christopher Katambo
Which C++ code could you use to return to a main menu?
c++
code
0 Votes
6 Answers
31st Aug 2018, 8:35 PM
Daniel Garcia
What are the main points to practice to master javascript
javascript
0 Votes
4 Answers
4th Jan 2017, 8:32 PM
Salahuddin Elmur
Why we use main at begining of program ?
java
1 Vote
2 Answers
5th Aug 2016, 7:45 AM
mohit pathak
What is The Main Purpose Of The Ruby Tutorial?
Courses
1 Vote
2 Answers
13th Apr 2017, 12:50 AM
____
What is the main difference between while and for loop ?
loops
1 Vote
5 Answers
10th Feb 2018, 2:05 AM
suresh
My main problem is with adding space in a JavaScript code.
javascript
0 Votes
4 Answers
31st Mar 2020, 9:06 AM
Kevin Muriuki
When it allowed to use any no.of main methods in java, how to predict the order of execution?
java
main
method
6 Votes
13 Answers
14th Dec 2019, 9:33 AM
Jayakrishna 🇮🇳
Java
class
main
0 Votes
8 Answers
31st Jul 2019, 6:58 PM
Chadalavaa Sai
Is main func can be used as recursive function ?
main
void
0 Votes
4 Answers
7th Jun 2017, 7:07 PM
Dharshan Kumar
hi priyanka, what are the main concepts in socket programming?
socket
1 Vote
3 Answers
3rd Mar 2018, 7:57 AM
Romesh Khun
What are the main error types in PHP and how do they differ?
error_tags
php
11 Votes
2 Answers
6th Jan 2018, 2:19 PM
Abhivarshini Maddala
Can we overload main function in Java ?
functions
java
0 Votes
1 Answer
27th Jul 2018, 6:17 PM
Mohd Shariq
What are main requirements to become a freelancer?
freelancer
0 Votes
1 Answer
28th Jul 2017, 3:37 PM
Tohur Ahmed Toha
How look your main dev environment for web?
config
environment
share
web
1 Vote
1 Answer
6th Jan 2017, 10:30 PM
nextco
make changes in main page after login: php
html
jquery
php
1 Vote
1 Answer
1st May 2017, 8:28 AM
Ani Naslyan
What is the main essence of using headings?
comments
headings
html
1 Vote
1 Answer
4th Apr 2017, 8:01 AM
Oluwatosin Peter Oyelami
How to write c++ program without main function
c++
-1 Vote
2 Answers
20th Jul 2017, 4:32 PM
amit patil
Why does he set "static void main (string)"?
c#
input
0 Votes
1 Answer
29th Dec 2016, 2:52 AM
Alessia Giammarino
What is the main difference between while and do while loop in Java?
do
java
while
3 Votes
3 Answers
21st Oct 2019, 6:23 AM
Deesha Devi Raghu
What is the main use of c# in programming?
c#
1 Vote
2 Answers
14th Dec 2016, 1:55 PM
Manas Ranjan Das
What is the main function of the this keyword
objects
1 Vote
2 Answers
7th Jan 2018, 3:02 PM
Zak Balde
Why the keyword static is used in main function?
java
1 Vote
2 Answers
28th Jan 2017, 7:19 AM
Sandeep Singh Negi
Void main is not working in code block compiler.. Why?
c++
0 Votes
2 Answers
18th Feb 2017, 4:15 PM
Skelli Bro
I know that java program must start from main method can the program also end in the main method during the time of execution?
main
methods
1 Vote
3 Answers
4th Aug 2018, 2:42 PM
omomehin
Can anybody help me to write main function for this code..
c++
dsa
functions
graph
leetcode
1 Vote
2 Answers
19th Dec 2022, 2:43 AM
filibuster
Do all the methods called inside main method become nested methods?
functions
java
main
methods
nested-methods
1 Vote
2 Answers
28th Oct 2021, 12:15 PM
ltsRoy
Error: Main method not found in class, How can i use void without main method and don't get an error ?
classes
java
objects
0 Votes
2 Answers
16th Sep 2016, 9:11 PM
Patipan Khwanchoo
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
Help!
main
0 Votes
1 Answer
25th Oct 2019, 8:33 AM
HelenaBla
#include <stdio.h> // Now define main function int main() { int i,j; for(i=1;i<=9;i++) { for(j=1;j<=9;j++) {
c
c++
javascript
python
ruby
-2 Votes
15 Answers
15th May 2021, 6:24 PM
Vrushabh
Is that possible to run java program without main function
progress
2 Votes
2 Answers
30th Nov 2017, 1:50 PM
Deepan
Why is String arg[] used in main method of java?
java
main
method
string
1 Vote
3 Answers
27th Mar 2017, 7:24 PM
Rajan Kumar Shah
Why main method contains array of strings in its parameter?
java
1 Vote
3 Answers
19th Nov 2016, 4:34 AM
Avinash Choudhary
why main method or many other method declared as Static?
constructors
java
1 Vote
3 Answers
17th Aug 2016, 8:44 PM
Dipayan Pramanik
a program to convert temperature in degrees Fahrenheit to degrees Celsius. The equation is: Celsius = 5.0/9.0(Fahrenheit –32.0)
c++
main
0 Votes
6 Answers
28th Dec 2020, 10:57 PM
Izzat Idham
public class Main { public static void main(String[] args) { int i = 012345; System.out.println(i); } }
java
4 Votes
6 Answers
25th Apr 2019, 6:21 AM
Sonu Kumar
why is the static block executed before the main method in java?
java
methods
2 Votes
2 Answers
16th Dec 2019, 10:24 PM
Umar Idris
What happens when we declare two or more main methods
c
c++
java
1 Vote
3 Answers
4th Nov 2016, 1:00 PM
gowtham
in java ,can you anyone tell me about void and main
,can
about
and
anyone
java
main?
me
tell
void
you
0 Votes
3 Answers
12th Feb 2023, 6:16 AM
Bhanu Prakash reddy
What is the main difference between post and pre increment and decrement?
de
increment
operators
php
3 Votes
3 Answers
17th Sep 2017, 2:57 PM
Zohaib 👑
What is the difference b/w int main and void main?
c++
0 Votes
2 Answers
23rd Sep 2018, 3:02 PM
Aman
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
12
13
14
...
29
Next >
Hot today
Error in python
5 Votes
Why Sololearn Removed Our Saved Private Project (Codes), I Can't Find This Option.
2 Votes
Model Context Protocol ? What is it ?
4 Votes
Where have they gone
2 Votes
API
0 Votes
How to get messages?
2 Votes
General Inquiry
0 Votes
Certificate
0 Votes
Activity Section in Profile has Gone
1 Votes
how to be good at coding
1 Votes