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 use int main() in C++
c++
function
main
0 Votes
5 Answers
25th Oct 2020, 7:36 AM
SAADAT ALI
How do you interact a string within a class from the main method?
arrays
c#
classes
stringarray
strings
0 Votes
3 Answers
29th Nov 2017, 11:02 PM
kenneth Stanley
Can we change lists to sets?. What is the main difference between them?
lists
python
sets
0 Votes
2 Answers
12th Aug 2018, 8:25 AM
Yusif Ibrahimov
What is the main difference b/w id and class? And what should we use??
class
html
id
1 Vote
2 Answers
4th Oct 2018, 5:58 AM
Mayank Tyagi
How can I get passed the main password on cpu. If I can't remember
tags
-1 Vote
3 Answers
4th May 2022, 5:37 PM
Jerrad D
Why doesn't this code work?
c
main
matrix
0 Votes
4 Answers
17th Jan 2020, 1:12 AM
Salvatore Di Lorenzo
Can I pass arguments to the main function. And can I pass default arguments to it
c++
0 Votes
5 Answers
23rd Apr 2019, 2:43 AM
MOIN KHAN
using namespace std; struct student{ int roll; char name[30]; char fname[30]; float cgpa; } s[10]; int main (void) { }
c++
0 Votes
13 Answers
13th Dec 2017, 7:53 PM
Rehan Solangi
how to create multiple class objects using loop in main method so as not to define each object separately?
ั#
0 Votes
6 Answers
17th Jan 2022, 11:12 AM
ะ ะพะผะฐะฝ ะะธะณัะฝะพะฒ
Can someone describe to me the exact use of static keyword before main module?
java
1 Vote
3 Answers
15th Dec 2016, 5:22 PM
Rohit thapliyal
Can't I use int main() in java?
int
java
main
5 Votes
2 Answers
2nd Dec 2019, 12:57 PM
Aditya
Can someone please tell me the main differences between python 3 and 2
thanks
0 Votes
2 Answers
4th Sep 2018, 2:26 PM
Programmer3451
Might be a stupid question, but v what is the main purpose for looping in JS?
javascript
loops
4 Votes
3 Answers
16th May 2017, 3:57 PM
Kevin
Is their any other use of "String args[ ]" in main method?
java
0 Votes
2 Answers
7th Feb 2017, 10:53 AM
Ratnadeep Dey
What's the main use of pointers in c++ and when they are pretty useful ?
c++
0 Votes
3 Answers
23rd May 2018, 1:02 PM
Oliver
I want to display two string array in my main code. I have error. Thanks you.
displa
stri
tw
0 Votes
3 Answers
16th Nov 2020, 6:27 AM
Malick Diagne
how to remove or avoid the error of "exception in thread main java.lang null pointer exception"
java
1 Vote
5 Answers
24th Jul 2016, 5:59 PM
Mohammad Bhanpurwala
Please who can teach me how to create a website that's my main aim for coming here help me
sololearn
0 Votes
4 Answers
13th Aug 2020, 2:23 AM
Okafor anselem
In java , inside the main function we use (Strings[] args) what is the use of this ???
java
3 Votes
3 Answers
5th Nov 2019, 4:18 AM
Venu D
ะะฐะบะธะต ะทะฐะดะฐัะธ ะปัััะต ะฑัะฐัั ะดะปั ััะธะปะฐะฝัะฐ ะฝะฐ ั++ ะดะปั ะฝะพะฒะธัะบะฐ. ะ ััะพ ะฝัะถะฝะพ ะดะปั ััะพะณะพ ะทะฝะฐัั? ะะพะดัะบะฐะถะธัะต ะฟะพะถะฐะปัะนััะฐ ะบะพะผั ะฝะต ัััะดะฝะพ.
c++
classes
functions
main
3 Votes
5 Answers
31st Aug 2019, 10:09 AM
mishuter
How to concatenate string and void in C# ? The main problem is in the last line of code .
asp.netmvc
c#
0 Votes
8 Answers
14th Jul 2022, 7:06 PM
Mustafa Azzoz
Can anyone look at my template and tell me what I'm doing wrong? I want to call the first function from the main function.
python
0 Votes
15 Answers
12th Jun 2020, 3:56 AM
John Perez
What is the use of giving a string array as a parameter with the main function in java.
java
main
1 Vote
1 Answer
18th Apr 2019, 10:42 AM
Oreki Hotaro
What is Main?
c#
main
0 Votes
3 Answers
24th Mar 2017, 12:51 PM
Andrija Jovanovic
Why we write "int" before writing main()
c++
main
0 Votes
3 Answers
3rd Aug 2017, 4:38 PM
Subhasish Ghosh
Can a class be made without having main () in it ?
class
java
main()
0 Votes
2 Answers
28th Nov 2016, 6:17 PM
Ravindra
sorting the linear linked list by using structures in c++ and display - this is main objective
cpp
data
structute
0 Votes
4 Answers
7th Dec 2021, 4:20 PM
Praween Gupta
can we use more than 1 main fuction in a program....if yes how and how compiler work
c++
0 Votes
7 Answers
10th Jul 2016, 3:44 PM
Uday singh Solanki
How's this code is working?.. Is it using ++i as i outside the main function after static variable?
c++
code
1 Vote
5 Answers
21st Mar 2022, 6:46 PM
Muhammad Talha Atif
Define a function called "Division" with two parameters and return type float, which divides the first parameter with the second
int
main
0 Votes
2 Answers
10th May 2018, 7:17 AM
Mwesigwa Jovan Jonathans
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner read = new Scanner
java#coder
1 Vote
3 Answers
27th Jan 2022, 2:35 PM
Hirdesh Prajapati
what is the main role of string in the whole java prog?
strings
0 Votes
2 Answers
30th Jul 2016, 1:17 AM
Rahul Cham
Whats wrong with void return type function for creating a main function
c++
0 Votes
2 Answers
9th Apr 2017, 8:35 AM
Mohd Thanveer Mk
It says selection doesnot contain a main type What should i do
eclipse
java
0 Votes
2 Answers
13th Jan 2017, 12:43 PM
Abishek Poudel
What if I don't pass the string argument in the main function
java
0 Votes
2 Answers
21st Jul 2016, 7:19 PM
uzma shaikh
How to take input from user from any method out of main method(). In sololearn android app and web app.
android
exceptions
inputfromuser
java
scanner
sololearn
0 Votes
8 Answers
2nd Aug 2021, 6:19 PM
Balram Singh
What is the use of main() and why is it compulsory??๐ค
c++
int
main
main()
2 Votes
5 Answers
21st Oct 2021, 2:32 AM
John Lukose Cochettu
is it possible to nest a function in the function Main in C++
c++
coding
cpp
help
0 Votes
2 Answers
17th Jun 2018, 12:26 AM
VD30
So are modern websites just a million html(and css and blah blah) put together? Just all linked to one main page?
html
1 Vote
8 Answers
2nd Sep 2020, 11:30 PM
Marisa Thomas
int main () { int a[3] = {2,7,3}; for (int i=0; i<3; i++){ a[i]-=i; } cout<<a[i]; }
arrays
c++
1 Vote
6 Answers
3rd Aug 2016, 4:43 PM
Hakatek
Does it matter if a user-defined function is defined before main() or after in C?
c
c++
functions
main
1 Vote
7 Answers
13th May 2021, 5:54 PM
Anthony Asiimwe
what is teh output of the snippet code qnd how??
arrays
c
main
pointers
2 Votes
9 Answers
5th Jan 2022, 12:56 PM
Nariman Tajari
What are int argc and char *argv[] for?
c++
main
1 Vote
2 Answers
11th Mar 2017, 12:21 AM
NNNicomedes
When i typed "void main()" it shows error
c++
error
main
2 Votes
3 Answers
24th Feb 2019, 3:28 PM
Darsan Dev S
Why don't we declare main function prior to it's calling in c++ ?
c++
functions
2 Votes
1 Answer
26th Jul 2017, 5:06 AM
Milkha_Da_Techie
What is main use of turtle and tkinter in python programming ?
graphics
python3
1 Vote
1 Answer
17th Oct 2017, 9:21 AM
Prashant Mishra
How to solve the follwing error when running the program (Exception in the thread main java.lang.NullpointerException)
java
0 Votes
4 Answers
9th Jun 2018, 10:29 PM
fatima
Is it possible to go into full time programming and still keep your main profession?
all-languages
career
profession.
1 Vote
3 Answers
17th Aug 2017, 2:09 PM
Nsikan Edem
what is the output? public static void Main (String[] arg) { int a = 5; int b = 5; Console.WriteLine(++a + b++); }
c#
operators
1 Vote
17 Answers
25th Jul 2016, 12:37 PM
Evan Sihab
Why can't I use prettier extension right after importing partials sass into main sass file? It suddenly breaks!
css3
html
sass
vscode
5 Votes
1 Answer
21st Jan 2021, 3:47 PM
Saleh Ghazimoradi
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
19
20
21
...
29
Next >
Hot today
Discrete-Time Signal Representation
0 Votes
Hey, is the "Snowflake" mission not working?
0 Votes
Bug in the answers checking algorithms?
1 Votes
Detach thread exception
1 Votes
Qt timer timeout
0 Votes
Not video
0 Votes
How to make a 2d game
0 Votes
Not image in the page
1 Votes
I want to learn Lua but donโt know where
2 Votes
Html
1 Votes