Kursy
Kursy
Kompilator kodu
Kompilator kodu
Dyskusja
Cennik
Zespoły
Zaloguj się
Zarejestruj się
Menu
Dyskusje Q&A
Szukaj
Szukaj
Zadaj pytanie
Zadaj pytanie
What does it mean when the function main() returns a value ??
main
13 głosów
15 odpowiedzi
22nd Apr 2017, 2:14 PM
Saja Husam
How int main () and void main() works
2
-1 Głos
3 odpowiedzi
19th Jan 2020, 9:58 AM
RAJGOPAL NAYAK K
How to decrypt a password in java?
main()
0 głosów
2 odpowiedzi
11th Dec 2017, 3:49 PM
Hari Krishna
What is the use of main() and why is it compulsory??🤔
c++
int
main
main()
2 głosów
5 odpowiedzi
21st Oct 2021, 2:32 AM
John Lukose Cochettu
#include int main() { int i; for(i=1,iprintf("%d",i); }
c
0 głosów
6 odpowiedzi
14th May 2020, 11:54 PM
Md Saiful Islam
Can we overload the main() method in java ?
api
java
0 głosów
5 odpowiedzi
19th Aug 2018, 2:03 PM
Indu Devarashetty
#include <stdio.h> int main() { unsigned char x=300; printf("%d",x); }
unsigned
0 głosów
5 odpowiedzi
19th Jul 2019, 5:10 PM
Rohit Ahuja
int main() means what?where it is used?
c
0 głosów
1 Odpowiedź
7th Feb 2020, 5:13 PM
Mani Vinnakota
#include<stdio.h> void main() { int a; a=(1,2,3); printf("%d",a); }
arrays
data-types
input
1 Głos
1 Odpowiedź
2nd Feb 2020, 5:12 PM
Amit Kumar
#include <iostream> using namespace std; int main() { cout << "Hello world!"; return 0; }
c++
-2 głosów
19 odpowiedzi
2nd Oct 2019, 7:54 AM
Tushit Sharma 24 CODER
what's the difference between the int main() and void main() ? what is the best for use ?
c++
0 głosów
3 odpowiedzi
22nd Aug 2016, 6:30 AM
Amel Alrooh
Is it possible to give arguments in main() function?
c++
0 głosów
6 odpowiedzi
19th Jan 2017, 9:42 AM
Aakash Garg
Instantiation: Object written in main() vs in class
c++
class
1 Głos
1 Odpowiedź
11th Aug 2020, 9:01 AM
Solus
Please when use int main() please return int
data-types
int
main
quiz
return
2 głosów
2 odpowiedzi
13th Jul 2017, 12:33 PM
Chokri ZAGROUBA
Is the main() built in or user define function?
c
c++
java
2 głosów
4 odpowiedzi
26th Mar 2017, 2:46 AM
Namrata Bagh
is Main() function necessary in C++ program?
c++
0 głosów
2 odpowiedzi
30th Jun 2016, 3:06 AM
Sidhu
What is the use of int main()
c++
0 głosów
2 odpowiedzi
14th Aug 2017, 4:38 PM
Bhatt Bhaumik
What is abnornal termination of main() function ?
c++
0 głosów
2 odpowiedzi
22nd May 2018, 3:56 AM
Shivam Kumar
#include<stdio.h> void main() { int count=0?2:0?3:4?5:6?1:9; printf("%d", count); }
c
tutorial
1 Głos
2 odpowiedzi
14th May 2020, 7:14 AM
Krupang Buddhdev
Can main() be changed to a different identifier tailored for a specific program? If so then how
functions
main()
1 Głos
7 odpowiedzi
25th Jun 2019, 10:34 PM
Mandla Thabethe
Please help me to write main() function in c.
c
leetcode
main()
output
2 głosów
2 odpowiedzi
11th Dec 2022, 5:37 AM
filibuster
#include<iostream> using namespace std; int main() { int a=7,b=1; if(a=8||b==5) {cout<<a*b<<a<<b;} cout<<" "<<a;
c++
1 Głos
11 odpowiedzi
23rd Mar 2021, 3:14 PM
san sheva S
#include <stdio.h> #include <string.h> int main() { string alien; scanf("%s",alien); strrev(alien); printf("%s",alie
c
-1 Głos
11 odpowiedzi
11th Aug 2020, 1:07 PM
PRABHU D
#include <stdio.h> int main() { do{ printf("Hi"); }while(5,3,0); return 0; }
do
loops
while
0 głosów
7 odpowiedzi
10th Feb 2021, 7:40 PM
Sanjeeb Kumar Rai
Why does void main() show an error?
c++
functions
main
0 głosów
1 Odpowiedź
7th Feb 2017, 5:37 PM
Rudradeep Deb
can I use void main() instead of using namespace std
c++
cout
3 głosów
5 odpowiedzi
31st Jul 2016, 5:31 AM
Eyuwankg Swankg
what is the purpose of using main() ?
c++
0 głosów
3 odpowiedzi
10th Nov 2016, 1:58 AM
Nida Mukhtar
Why hello() .. shouldn't it be main() ??
c++
functions
0 głosów
3 odpowiedzi
4th Nov 2016, 8:59 AM
sahag
#include<stdio.h> main() { int a=-5; int k=(a++,++a); printf("%d",k); }
operator-precedence
operators
0 głosów
1 Odpowiedź
4th Apr 2020, 11:35 AM
ADITYA PRATAP SINGH
#include <stdio.h> #define sqr(x) x*x int main() { printf("%d",sqr(3+1)); return 0; }
c
macro
4 głosów
2 odpowiedzi
17th Sep 2020, 11:20 AM
Shaktirajsinh zala
#include <stdio.h> int main() { char a = getchar(); printf("You entered: %c", a); return 0; }
input
output
3 głosów
13 odpowiedzi
10th Mar 2020, 8:13 PM
sagor zia
#include <iostream> using namespace std; int main() { cout << "Hello world!"; return 9; }
micheal
2 głosów
6 odpowiedzi
2nd Nov 2018, 6:51 AM
D ̲E ̲S ̲S ̲I ̲E ̲- ̲B ̲A ̲H ̲I ̲R ̲U ̲
main() {intarr[]={1,2,3,4,5}; int *ptr, i; ptr=arr+4; for(i=0;i<5;i++) printf(“\n%d”,*(ptr-1)); }
clanguage
-2 głosów
2 odpowiedzi
8th Jun 2020, 10:38 AM
Ishita Gupta
can we change the main function like bollean main()
c
c++
0 głosów
2 odpowiedzi
17th Jul 2019, 6:57 PM
Muhammad Mehran Bin Azam
#include <iostream> using namespace std; int main() { int a=0,u=0; u=(a) * ++a; cout<<u; }
c++
rocks
3 głosów
12 odpowiedzi
12th Sep 2018, 5:50 PM
Arun
#include<stdio.h> #include<conio.h> int main() { int x,y=2,z,a; x=(y*=2)+(z=a=y); printf("%d",x); getch(); }
c
0 głosów
7 odpowiedzi
21st Jun 2018, 6:24 AM
ALOK GOLDY
Why do we have to write int with main()
c++
0 głosów
4 odpowiedzi
15th Jan 2017, 5:30 AM
nishika
Can i use void main() in place of int main()?
c++
1 Głos
5 odpowiedzi
11th Oct 2016, 5:19 PM
Sidharth Sreenivas
in c++ program on internet Can we write void main() instead of Int main() and what changes we should made on it
c++
1 Głos
4 odpowiedzi
15th Dec 2016, 7:56 AM
chandraprakash
Can a java program can run without main() method?
java
2 głosów
2 odpowiedzi
18th Jun 2017, 10:48 PM
sandeep kaur
why int main() is declared at the beginning of program ?
basics
beginner
c
int
2 głosów
6 odpowiedzi
6th Feb 2019, 4:44 PM
Pilli Revant Krishna Sagar
What dose int main(int argc, char ** argv) mean?
c++
functions
main()
8 głosów
5 odpowiedzi
10th Sep 2018, 4:17 PM
LONGTIE👔
int main() {int i=4; i=++i-i++ +(2*i); if(i>10) i=i+(--i); cout<<i;
cout
2 głosów
2 odpowiedzi
23rd Oct 2017, 7:34 AM
suhail pgm
In C language who calls the main() function?
c
main()
0 głosów
2 odpowiedzi
26th Feb 2017, 8:43 AM
Nishant Amoli
Why do we have to return 1 in int main() function?
c++
cpp
8 głosów
2 odpowiedzi
18th Oct 2016, 9:14 AM
Lara
Is return statement compulsory in int main() function?
#function
#return
c++
0 głosów
2 odpowiedzi
24th May 2017, 6:41 AM
Mystique
What is the main difference in main() and void main()?
c
3 głosów
3 odpowiedzi
3rd May 2017, 1:49 PM
HiRo
Why am i unable to use void main() in c++ ?
c++
cpp
error
3 głosów
1 Odpowiedź
20th Mar 2019, 5:51 AM
Shikher Jaitly
What if we used void main() instead of int main()?
c++
1 Głos
4 odpowiedzi
14th Jun 2016, 9:58 AM
Bijesh Mohan
Why my code doesn't give an error ..?I execute it in online compiler it gives error.
java
main()
1 Głos
2 odpowiedzi
17th Oct 2020, 9:46 AM
❤☆Nani☆❤
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
< Do tyłu
1
2
3
4
...
10
Dalej >
Popularne dzisiaj
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
I am beginner,This is will be right code?
1 Votes
Why is it so hard to get a job as a junior dev? Or just wanting to do an internship.
1 Votes
Kernel in Jupyter
2 Votes
How many days will It takes to completely learn front end
4 Votes
Solved# Survey data format in coding for data
1 Votes
SQL
2 Votes
Solution to solving this bugged problem
2 Votes
JAVA PROGRAMMING
1 Votes
IMAGE
0 Votes