Cursos
Cursos
Compilador de Cรณdigo
Compilador de Cรณdigo
Debatir
Precios
Teams
Iniciar sesiรณn
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
Please what should i use after int main() has been defined in C++
int
main()
0 Votos
32 Respuestas
16th Oct 2020, 11:44 PM
Ultra WALKER
#include<stdio.h> int main() { printf("%x", -1<<1); getchar(); return 0; }
code
logic
output
7 Votos
9 Respuestas
25th Dec 2018, 10:22 AM
Vinayak Irabatti
Why r u not accepting void main() instead of int main() ?
c++
1 Voto
2 Respuestas
15th Dec 2016, 6:29 PM
Hiranmayi
no return type in main()
c++
templates
1 Voto
3 Respuestas
1st Nov 2016, 2:12 PM
Mohi
char datatype inside int main() function
c
main
1 Voto
3 Respuestas
24th Feb 2020, 10:39 AM
Reiner
what is the role of main() in cpp?
main()
3 Votos
3 Respuestas
15th Aug 2020, 2:38 PM
Abhishek Kumar
Can main() be overloaded in Java?
java
1 Voto
4 Respuestas
2nd Sep 2018, 1:07 PM
saurabh sable
Hello everyone please help this question? function main() { var distance = parseInt(readLine(), 10);
js
0 Votos
12 Respuestas
2nd Jan 2021, 1:35 AM
MK GALAXY
We can't use void main() in c++ right? We should only use int main() right?
c++
in
void
0 Votos
2 Respuestas
1st Aug 2019, 5:16 PM
Merlyn J
int main() { cout<<(1&&45||0); }
namratha
0 Votos
1 Respuesta
31st Oct 2019, 4:40 PM
Ashish kumar
Int main() int a=5 Int b=++a*a++ Print(%d,b)
c++
increment
operators
0 Votos
8 Respuestas
6th Jun 2017, 3:34 PM
Nitish Kulkarni
Why we use int main() in C++
c++
function
main
0 Votos
5 Respuestas
25th Oct 2020, 7:36 AM
SAADAT ALI
please what will i write main()
cout
main()
0 Votos
3 Respuestas
30th Nov 2018, 8:09 PM
umar muhd ladan
How can I redifine int main()
c++
0 Votos
2 Respuestas
14th Dec 2022, 7:20 AM
Abigail Augustine
[Question] Reason for void() and main() [Solved]
c++
3 Votos
4 Respuestas
24th Jan 2022, 1:59 PM
โขฤเธัะบ เธฃััฮตเธะผ ๐ แดบโขแตโขแดฌหขแตสณแตแตแตแตหกแถฆ
Can't I use int main() in java?
int
java
main
5 Votos
2 Respuestas
2nd Dec 2019, 12:57 PM
Aditya
error about main() in playground console
c++
cout
1 Voto
4 Respuestas
13th Apr 2017, 3:47 AM
Chain Leang
Cant we write char main() {}
magic-methods
1 Voto
2 Respuestas
17th Oct 2018, 7:18 AM
Dhananjay
What is the purpose of int main() in C++
c++
functions
int
main
13 Votos
4 Respuestas
28th Dec 2016, 10:56 AM
Gami
Why do we need main() function?
java
1 Voto
3 Respuestas
25th May 2017, 12:23 PM
Harsh Priyadarshi
Why we use int main()
c++
0 Votos
2 Respuestas
7th Jan 2018, 4:18 PM
Shรซrรฎl Kรฌrรผ
Can we Execute Java program without main() Method?
java
main()
1 Voto
5 Respuestas
7th Sep 2018, 6:13 PM
Slim Jxmmi
#include<stdio.h> int main() { int a=1; printf("%d%d%d",a++,++a,a); return 0; }
c
0 Votos
14 Respuestas
9th Jul 2017, 10:12 AM
RAHUL
What is redefinition int main() in C++
namespace
0 Votos
3 Respuestas
24th Nov 2021, 12:40 PM
Nidhi Agrahari
Can we use final keyword with main() method?
final
java
main
method
3 Votos
3 Respuestas
19th May 2019, 3:54 PM
Vaishnavi Rajkumar Pawar
hey we can use void main() in place of int main() right? what's the difference? #needhelp
c++
variables
2 Votos
3 Respuestas
2nd Jul 2016, 2:48 PM
Bhavin Bopanna
What is the difference between int main () and void main()
c
c++
6 Votos
11 Respuestas
22nd Mar 2019, 8:15 AM
Emmanuel Godwin
What Is the use of int main()
c++
2 Votos
4 Respuestas
14th Apr 2017, 1:27 PM
Vishwas Mishra
why "main()" must in every java programm? i had run java program without main() by using static method only...
main()
withoutmain
0 Votos
22 Respuestas
8th Jun 2019, 4:47 AM
kamlesh patil
When I use void main(){ instead of int main()
c
1 Voto
7 Respuestas
15th Oct 2020, 4:59 AM
Nafis Sadiq Bhuyan
Int Main() = void main(void) ?
c++
main
void
1 Voto
2 Respuestas
21st Feb 2017, 6:28 PM
Viktor Medvedev
Is main() a user-defined function or a predefined function ?
c
c++
java
3 Votos
9 Respuestas
14th Sep 2019, 9:24 AM
Sayan Mukherjee
C/C++: Why doesn't int main() cause an error when I provide command line arguments?
arguments
c
c++
command
line
20 Votos
12 Respuestas
9th Feb 2019, 11:43 AM
Anna
Why is main() function is too important in c ?Why we use it? Working of main() function
c
cprogramming
0 Votos
2 Respuestas
10th Aug 2022, 1:11 PM
Suraj Joshi
What is the difference between private static void Main() and public static void Main() in c# and JAVA?
access-modifiers
c#
java
main-methode
2 Votos
2 Respuestas
1st Jun 2018, 7:03 AM
Nurman Tajir
What's the difference between void main() and int main()?
c#
variables
5 Votos
8 Respuestas
1st May 2017, 6:10 PM
Bana Itan
why when I write: #include <iostream> using namespace std; int main() { cout <<"Hello world!"; return 0 } int main() { ----It says ERROR
c++
cout
0 Votos
21 Respuestas
28th Jun 2016, 6:47 AM
L-ka
C program to print line number of main()
c
programming
3 Votos
4 Respuestas
21st Jan 2018, 8:44 PM
Basu
Why main() can't return any value?
main
return
0 Votos
2 Respuestas
23rd Dec 2016, 2:07 AM
vivek kumar choubey
without using main() program compile or not??
c++
1 Voto
3 Respuestas
6th Feb 2017, 1:40 PM
Mayur Chaudhari
Calling an object's method outside of Main()
c#
classes
methods
objects
0 Votos
2 Respuestas
25th Jan 2019, 4:56 AM
JPressley
use of static before void main()
c#
methods
0 Votos
1 Respuesta
4th Jan 2017, 12:08 PM
Himanshu Pandey
#include <stdio.h> int main() { printf("%x",-4>>1); return 0; }
and
e
f
in
is
output
what
2 Votos
4 Respuestas
17th Mar 2021, 5:58 AM
Ankit Kumar
why we use 'static' keyword with the main()
c#
methods
3 Votos
3 Respuestas
2nd Jul 2016, 6:30 AM
Nikita Singh
int main() { char str[]="%d %c ",arr[]="sololearn"; Printf (str,0[arr],2[arr+3]); }
c
1 Voto
5 Respuestas
23rd Jul 2022, 5:00 AM
Always Learn More๐
What's the difference between void main() and int main()?
c
c++
difference
int
main
void
4 Votos
5 Respuestas
23rd Nov 2016, 4:26 PM
Jaydeep Khatri
#include <stdio.h> int main() { printf("\x61"); return 0; }
c
0 Votos
5 Respuestas
27th Dec 2018, 2:50 AM
Abdul Rahman Khan
Why we write "int" before writing main()
c++
main
0 Votos
3 Respuestas
3rd Aug 2017, 4:38 PM
Subhasish Ghosh
what does the circular brackets "()" indicates in main()
c++
main
1 Voto
5 Respuestas
9th Sep 2018, 12:57 PM
Shreyas Chimote
How int main () and void main() works
2
-1 Voto
3 Respuestas
19th Jan 2020, 9:58 AM
RAJGOPAL NAYAK K
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
2
3
...
10
Siguiente >
En tendencia hoy
How to allow one instance of exe
2 Votes
Reverse observer pattern : remove dynamic_cast
2 Votes
Python
1 Votes
Theater management help me
2 Votes
What has happened?
1 Votes
What should I add/improve ?
1 Votes
Should You Specialize or Diversify in Programming?
1 Votes
Tools for web design?
1 Votes
Flight tracker coding foundation help me
1 Votes
Remove raw pointer from observer design pattern
0 Votes