Cursos
Cursos
Compilador de Código
Compilador de Código
Discutir
Preços
Teams
Fazer login
Registrar
Menu
Q&A Discussões
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
Why is the cpp programs now all starting with int main and not void main??
c++
int
main
oop
void
6 Votos
7 Respostas
8th Feb 2018, 12:05 PM
Jayasoorya Jithendra
What is the difference between void main () and int main??
int
main
void
-1 Voto
4 Respostas
17th Mar 2018, 1:21 PM
Anand Mishra
Por que hay que poner public static void main (String[ ]args){
strings
0 Voto
2 Respostas
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 Voto
2 Respostas
6th Dec 2016, 2:57 PM
Nochains
Why we will not write return in void main ??
java
0 Voto
2 Respostas
26th Aug 2016, 2:28 AM
suji prem
How do I get the bookstore?
void
-3 Votos
2 Respostas
2nd Oct 2017, 11:38 PM
David
explain about static in the line: public static void main(String args[])
java
0 Voto
3 Respostas
15th Jul 2016, 2:49 PM
ajit
Usage of a unchecked checkbox with a textarea
java
void
3 Votos
2 Respostas
17th Jun 2019, 9:59 PM
RVehicleOfficial
what is the difference between void and return pls explain in simple words:-)
c#
methods
0 Voto
4 Respostas
11th Jul 2016, 8:17 AM
Ankit
#include<stdio.h> #include<conio.h> void main(){ int num,a=10; num=a--- -a--; printf("%d %d",num,a); }
c
0 Voto
3 Respostas
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 Voto
4 Respostas
19th Jan 2021, 5:33 AM
Samriddhi sinha
Where should we use int main() and where void main()
cpp
0 Voto
2 Respostas
8th Dec 2016, 11:14 AM
Ravi Kumar
What is the meaning of static in public static void main?
java
main
static
0 Voto
3 Respostas
22nd Mar 2017, 1:41 PM
pranjal kumar
some1 pls explain functions ( void and int) properly and slowly.
c++
functions
0 Voto
3 Respostas
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 Voto
3 Respostas
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 Votos
3 Respostas
6th Jan 2017, 1:11 PM
Prashant Brahmbhatt
what is public static void main (String arts [ ] ) ???
java
0 Voto
4 Respostas
15th Sep 2016, 3:18 AM
jesus
can we use public int main() instead of void main()?
java
0 Voto
2 Respostas
26th Dec 2017, 5:27 PM
venkatasubramani
If i used void instead of integer in c++ program.?
c++
cout
0 Voto
2 Respostas
28th Jun 2017, 6:18 PM
Mohammed Razeep.M
What is the difference between void main and int main??
c++
0 Voto
2 Respostas
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 Voto
2 Respostas
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 Votos
3 Respostas
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 Voto
5 Respostas
3rd Aug 2018, 10:01 AM
Kundan Saridevi
What is the meaning of " static void Main(string[] args) "?
c#
output
1 Voto
1 Resposta
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 Voto
21 Respostas
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 Voto
3 Respostas
3rd May 2019, 1:06 PM
Fernandi Rohmadiansyah
why I use get in java and return void value?
java
0 Voto
1 Resposta
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 Voto
4 Respostas
29th Oct 2018, 12:57 AM
Sai Swaraj
What is difference between {static void method ()} and {int Method()}
c#
explain
methods
0 Voto
1 Resposta
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 Voto
1 Resposta
5th Aug 2018, 2:59 AM
Dimas Chandra
Removing String (java)
java
printing
string
void
7 Votos
14 Respostas
20th Feb 2020, 12:43 AM
KingDaniel2004
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 Voto
2 Respostas
30th Jun 2018, 8:47 PM
Manzuma Memunat
If anybody tell me the when we use void & int in main fiction?
int
void
1 Voto
5 Respostas
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 Voto
6 Respostas
18th Dec 2020, 4:11 AM
Vishal Jadhav
Classes and Objects : How to pass value to method void input()?
c++
oop
1 Voto
3 Respostas
3rd Apr 2017, 5:06 AM
xxxx xxxxx
what is the diffrence beteen void main(), return 0 and using nameplace
c++
1 Voto
3 Respostas
12th Jun 2016, 7:19 PM
CHURCHIL
What are the benefits of using void data types for functions,pointers and more?
data-types
1 Voto
3 Respostas
31st Jan 2020, 5:39 PM
Harshit Nema
Which language is this code belong to?
main
static
void
6 Votos
12 Respostas
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 Voto
2 Respostas
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 Votos
6 Respostas
9th Sep 2018, 7:29 AM
sapan
Why do I use void main in place of int main
do
i
use
void
why
2 Votos
1 Resposta
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 Votos
7 Respostas
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 Voto
13 Respostas
25th Jul 2017, 8:41 AM
Sourav Kumar
What is the use of “void main()”?
int
void
0 Voto
5 Respostas
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 Voto
6 Respostas
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 Voto
3 Respostas
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 Votos
2 Respostas
4th Oct 2018, 11:52 AM
Yashvi Shah
Is void method with or without a parameter can return an int value?
java
methods
3 Votos
2 Respostas
5th Aug 2017, 1:45 AM
PandaPanda🐼
Why program showing errors while using conio.h and void main and getch
c++
1 Voto
2 Respostas
31st Aug 2017, 2:05 PM
Aryan Patel
Why some of the compiler showing error when we write void main() in c++?
c++
1 Voto
5 Respostas
8th Sep 2017, 4:34 AM
jemee
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
< Anterior
1
...
8
9
10
...
17
Próximo >
Quente hoje
overloading operators << >>
1 Votes
how does this code function?
2 Votes
.
1 Votes
My question is about python?
0 Votes
.
0 Votes
Default constructor and default assignment operator
0 Votes
Where is my badge?
1 Votes
i need to learn Coding
0 Votes
Who is the best one in html can find for more comprehension
2 Votes
Web
0 Votes