Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Ăquipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
What is the difference between void main () and int main??
int
main
void
-1 Vote
4 RĂ©ponses
17th Mar 2018, 1:21 PM
Anand Mishra
Por que hay que poner public static void main (String[ ]args){
strings
0 Vote
2 RĂ©ponses
15th Dec 2022, 3:09 PM
Sergio David Hechavarria Soto
What is the difference between the RETURN and VOID types of method?
java
methods
0 Vote
2 RĂ©ponses
6th Dec 2016, 2:57 PM
Nochains
Why we will not write return in void main ??
java
0 Vote
2 RĂ©ponses
26th Aug 2016, 2:28 AM
suji prem
explain about static in the line: public static void main(String args[])
java
0 Vote
3 RĂ©ponses
15th Jul 2016, 2:49 PM
ajit
How do I get the bookstore?
void
-3 Votes
2 RĂ©ponses
2nd Oct 2017, 11:38 PM
David
what is the difference between void and return pls explain in simple words:-)
c#
methods
0 Vote
4 RĂ©ponses
11th Jul 2016, 8:17 AM
Ankit
Usage of a unchecked checkbox with a textarea
java
void
3 Votes
2 RĂ©ponses
17th Jun 2019, 9:59 PM
RVehicleOfficial
#include<stdio.h>Â #include<conio.h>Â void main(){Â int num,a=10;Â num=a--- -a--;Â printf("%d %d",num,a);Â }
c
0 Vote
3 RĂ©ponses
25th Dec 2016, 8:33 AM
Arpitha G R
import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner scanner = new Scanner
calculator
loan
-1 Vote
4 RĂ©ponses
19th Jan 2021, 5:33 AM
Samriddhi sinha
Where should we use int main() and where void main()
cpp
0 Vote
2 RĂ©ponses
8th Dec 2016, 11:14 AM
Ravi Kumar
What is the meaning of static in public static void main?
java
main
static
0 Vote
3 RĂ©ponses
22nd Mar 2017, 1:41 PM
pranjal kumar
some1 pls explain functions ( void and int) properly and slowly.
c++
functions
0 Vote
3 RĂ©ponses
10th Jul 2016, 4:51 PM
Sarthak Saxena
#include<stdio.h> #include<string.h> void main() { char *str="His"; int i=0; for(i=0;i<=strlen(str);i++) printf("%s",str++); }
c
c++
challenge
codding
code
html
jquery
require
sololearn
subqueries
1 Vote
3 RĂ©ponses
29th Apr 2020, 3:59 AM
Rihaj Mujawar
I always win fights with women. They give me arguments, I pass them to void functions.
joke
programming
pun
13 Votes
3 RĂ©ponses
6th Jan 2017, 1:11 PM
Prashant Brahmbhatt
what is public static void main (String arts [ ] ) ???
java
0 Vote
4 RĂ©ponses
15th Sep 2016, 3:18 AM
jesus
can we use public int main() instead of void main()?
java
0 Vote
2 RĂ©ponses
26th Dec 2017, 5:27 PM
venkatasubramani
If i used void instead of integer in c++ program.?
c++
cout
0 Vote
2 RĂ©ponses
28th Jun 2017, 6:18 PM
Mohammed Razeep.M
What is the difference between void main and int main??
c++
0 Vote
2 RĂ©ponses
12th Jul 2017, 9:38 AM
Jeush Sangma
void is used here and still it returns a value,why?
java
reference-types
value-types
0 Vote
2 RĂ©ponses
23rd Sep 2016, 2:09 PM
harshita
public class Program { public static void main(String[] args) { int x=8, y=2; System.out.println(y%x);
q
2 Votes
3 RĂ©ponses
30th Dec 2019, 4:32 PM
BAYODE BLESSING AKINBOLA
Can anyone explain what is static keyword in public static void main actually mean?
java
static
1 Vote
5 RĂ©ponses
3rd Aug 2018, 10:01 AM
Kundan Saridevi
What is the meaning of " static void Main(string[] args) "?
c#
output
1 Vote
1 RĂ©ponse
28th Jul 2018, 6:26 PM
Mohamed Ramadan El Geneidyâ
#include<iostream> #include<conio.h> #include<stdio.h> void main() { int i; char str[80]; cout<<"enter any name"; gets(str); for(i=0;str[i]!='\0';i++) {cout<<str[i]<<"\n"; } getch(); }
c++
error
0 Vote
21 RĂ©ponses
21st Jun 2016, 12:07 PM
Kshitij
#include <iostream> void main(void ) { float PI=3.14,R,L,K,V; cout<<"Masukan harga R:"<<endl; cin>>R; K=2*PI
objects
0 Vote
3 RĂ©ponses
3rd May 2019, 1:06 PM
Fernandi Rohmadiansyah
why I use get in java and return void value?
java
0 Vote
1 RĂ©ponse
22nd Feb 2019, 9:45 AM
Kevin Fernandez Esquivel
Is it compulsory to write int main instead of void main while recursion?
main
recursion
void
0 Vote
4 RĂ©ponses
29th Oct 2018, 12:57 AM
Sai Swaraj
What is difference between {static void method ()} and {int Method()}
c#
explain
methods
0 Vote
1 RĂ©ponse
28th Nov 2022, 11:14 AM
Aayush Jat
I was confused using void and return method, when i can use a return method or void method in program ? Thanks :)
java
methods
return
void
0 Vote
1 RĂ©ponse
5th Aug 2018, 2:59 AM
Dimas Chandra
Void main() { int a[]={1,2,9,8,6,3,5,7,8,9}; int *p = a+1; int *q = a+6; printf("\n%d",q-p); }
answer
1 Vote
2 RĂ©ponses
30th Jun 2018, 8:47 PM
Manzuma Memunat
Removing String (java)
java
printing
string
void
7 Votes
14 RĂ©ponses
20th Feb 2020, 12:43 AM
KingDaniel2004
If anybody tell me the when we use void & int in main fiction?
int
void
1 Vote
5 RĂ©ponses
2nd Dec 2018, 2:58 PM
Sharan
Is it possible to make void pointer array ??where each block of array contains different data type
generics
pointers
1 Vote
6 RĂ©ponses
18th Dec 2020, 4:11 AM
Vishal Jadhav
Classes and Objects : How to pass value to method void input()?
c++
oop
1 Vote
3 RĂ©ponses
3rd Apr 2017, 5:06 AM
xxxx xxxxx
what is the diffrence beteen void main(), return 0 and using nameplace
c++
1 Vote
3 RĂ©ponses
12th Jun 2016, 7:19 PM
CHURCHIL
What are the benefits of using void data types for functions,pointers and more?
data-types
1 Vote
3 RĂ©ponses
31st Jan 2020, 5:39 PM
Harshit Nema
Which language is this code belong to?
main
static
void
6 Votes
12 RĂ©ponses
19th Oct 2017, 11:31 PM
YAKUBU IBRAHIM
{int a=1; printf("%d",++a); func(); printf("%d",++a); return 0;} void func(){int a=10; return 1;}
pleaseexplain
-1 Vote
2 RĂ©ponses
10th May 2020, 3:22 PM
Karan Dewangan
public class Main { public static void main(String[] args) { int a = 'a'; System.out.print(a); } }
java
2 Votes
6 RĂ©ponses
9th Sep 2018, 7:29 AM
sapan
Why do I use void main in place of int main
do
i
use
void
why
2 Votes
1 RĂ©ponse
11th Jan 2018, 5:15 AM
Shalin Suthar
Can I return different types other than void and int? Maybe char, string, float, double etc?
c++
functions
3 Votes
7 RĂ©ponses
22nd Jan 2016, 1:31 AM
moise
import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner sourav = new Scanne
java
0 Vote
13 RĂ©ponses
25th Jul 2017, 8:41 AM
Sourav Kumar
What is the use of âvoid main()â?
int
void
0 Vote
5 RĂ©ponses
23rd Sep 2018, 3:48 PM
Carly
In my school I was taught that C++ program starts with void main() and not int main().
auxiliumconvent
dum
in
my
school
1 Vote
6 RĂ©ponses
5th Nov 2021, 8:27 AM
Anisha Chakraborty
class Program { void main(int a,int b) { int c; c=a+b; System.out.println("Final value ="+c);
java
0 Vote
3 RĂ©ponses
1st Jun 2022, 4:04 AM
Shashank
Why do we use int main here in solo learn rather than Void as a function?
c
codes
function
main
sololearn
weprogrammers
2 Votes
2 RĂ©ponses
4th Oct 2018, 11:52 AM
Yashvi Shah
Is void method with or without a parameter can return an int value?
java
methods
3 Votes
2 RĂ©ponses
5th Aug 2017, 1:45 AM
PandaPandađŒ
Why some of the compiler showing error when we write void main() in c++?
c++
1 Vote
5 RĂ©ponses
8th Sep 2017, 4:34 AM
jemee
Why program showing errors while using conio.h and void main and getch
c++
1 Vote
2 RĂ©ponses
31st Aug 2017, 2:05 PM
Aryan Patel
Public class Exceptions {public static void main(String[] args) {try {if (args.length == 0) return;System.out.println(args[0]);}
java
1 Vote
3 RĂ©ponses
28th Jun 2017, 2:01 AM
Sandeep Jena
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
8
9
10
...
17
Suivant >
Aujourd'hui en vedette
App
2 Votes
How to improve code readability
0 Votes
I NEED to make a game
1 Votes
Regarding course
0 Votes
Solved Grouping data
0 Votes
In this code, I want to make exactly another div right next to it in div, how to edit it?
1 Votes
Python input() function is strange (a bug or a feature?)
1 Votes
what is python
0 Votes
Chess Tournament Exercise Doesnât Work
0 Votes
Android
0 Votes