Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
what is the difference between: main( ),int main( ),void main( ),main void( ),void main(void),into main(void) ?
c++
0 Votes
2 Answers
27th Jul 2016, 6:51 AM
vishal khandelwal
Diffrence between main( ) and void main(void)
c
c++
4 Votes
7 Answers
3rd Feb 2022, 6:22 PM
SIMRAN
what is difference between void bark() and public static void main( string...args)
classes
java
objects
3 Votes
5 Answers
2nd Aug 2016, 9:08 AM
Kalyan Surapaneni
in c# static void main( string args[]) is not working why?
c#
0 Votes
2 Answers
2nd Jul 2016, 8:56 AM
soumit
#include <stdio.h> main() { int i; for(i=0;i<5;i+=4) { i=i*i; } printf("ans %d",i); return 0; }
include<stdio.h>
main(
0 Votes
5 Answers
11th Sep 2020, 9:44 AM
Chauhan Ashutoshkumar Harishankar
Why we use int main( ) in some program s in place of void main?
c
language
0 Votes
3 Answers
27th Oct 2019, 6:15 PM
Sunny Aitha
void main( ) { randomize( );int arr[ ]={4,2,1,0},n; int r= random(2)+3; for(int j=1;j<4;j++) { n=random(j); cout<<arr[n]+r<<"@";
c++
random
0 Votes
1 Answer
23rd Dec 2018, 3:49 AM
Shogun THE GREAT
What if the main method is just " void main( Strings [args])" instead of Public static (Strings [args])
java
methods
0 Votes
1 Answer
22nd May 2018, 3:57 AM
Revolution .....
In this Scala Code object Solution { def main( args: Array [string] ) = { HelloWorld.main() }} why HelloWorld.main is used?
scala
0 Votes
2 Answers
16th Mar 2021, 12:52 PM
ANSHU MISHRA
Consider the following code-: Static in Test(out int x,int y=4) { X=6; return x*y; } static void main( string args[]){ int a;
c#
0 Votes
1 Answer
16th Jan 2017, 1:05 PM
Aniket Patil
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Java method override
1 Votes
Prient=("Hellow world")
1 Votes
A web question
0 Votes
What do you think would be good for some new courses?
0 Votes
Failed execution
0 Votes
i see many people need turtle in sololearn
0 Votes
Can someone explain nested loops ?
0 Votes
How to write and run Python code in SoloLearn for free?
1 Votes
Understanding Matrixes
0 Votes
Coding with AI now not included in PRO?
0 Votes