Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
So then no semicolon is needed after int main()???
c++
1 Vote
4 Answers
28th Jun 2017, 6:01 PM
Noor Mohamed
In c++ when you want to use the sum value, you should put int sum = 0; first or just int sum;?
beginner
c++
help
1 Vote
2 Answers
6th Nov 2023, 7:11 PM
Magdalini
How can void b used insted of int
<iostream>
include
0 Votes
2 Answers
25th Oct 2018, 6:17 AM
Divya
int sum,temp,x,r,count=0; for(x=100;x<=200;x++) { temp=x; sum=0; while(x>0) { r=x%10; sum=sum+(r*r*r); x
help
0 Votes
5 Answers
17th Nov 2020, 5:18 PM
Muskan Lodhi
#include <stdio.h> int main() { int k,sum ; printf("number of terms in series = %d", k); scanf("%d",&k); sum = k*(k-1)/2; print
c
1 Vote
2 Answers
12th Aug 2019, 3:44 AM
Rahul Sikarwar
what is the different betweens var and int ?
c#
1 Vote
3 Answers
13th Apr 2018, 2:52 PM
Andy Jiang
what is the difference between int float and double
c++
3 Votes
2 Answers
5th Oct 2017, 8:22 PM
Abdullah alamodi
How to know that input is string or int
java
2 Votes
3 Answers
14th Aug 2017, 4:04 PM
Pankaj Bairwa
Why is this not working sorry i just started codeing int score = 100;
javascript
2 Votes
7 Answers
26th Jun 2021, 2:05 AM
Isaiah Alexis
If I created string function can i put int parameters in it ?
functions
1 Vote
11 Answers
19th Jul 2019, 9:04 PM
The unknown 321
Pblic class program { Public static void main .string[ ] args ){ for( x=1 ; x<=100 ; x++ ){ if( x%3=0 && x%4=0)
int
3 Votes
3 Answers
17th Feb 2018, 12:58 AM
YASH RAJ
Anyone know what's int please explain with a code(cause I'm dumb)
int
1 Vote
2 Answers
7th Oct 2022, 5:44 PM
Saswat Sahu 8432
How can I have a int value from an input?
if-statements
input
1 Vote
4 Answers
11th Sep 2019, 3:47 AM
Lucca Proença Souza
How do I multiply 2 int values that contain a decimal?
int
multiplication
0 Votes
6 Answers
13th Sep 2021, 1:54 PM
Isang-Ofon Udo-Arthur
Explain the meaning and output of each line of the following in the context of programming: (i) int i; int x,
c
programming
0 Votes
2 Answers
13th Mar 2021, 3:34 PM
Kalicharan
how to receive only int values from the user?
java
2 Votes
3 Answers
24th Oct 2017, 5:39 PM
Nitin Nair
What is the different between int and intmain?
c++
variables
1 Vote
2 Answers
30th Nov 2017, 5:06 PM
lorenzo
Confused about difference between Void and Int functions?
c++
cpp
cs
doubt
java
question
0 Votes
3 Answers
12th Nov 2017, 1:45 AM
Jonathan Álex
Help please java
int
0 Votes
2 Answers
4th Feb 2020, 8:02 PM
Paul Yusyk
How can i change char to int and send it to massiv in c++
c++
1 Vote
14 Answers
27th Nov 2020, 10:58 AM
Behzod
How do I stop python 3 from implicit conversion of int to float
data
data-types
python
python3
type-conversion
0 Votes
9 Answers
19th Mar 2020, 4:18 PM
Sk. Ahmed Razha Khan
What is i% format specifier for int datatype in c language??
c
language
1 Vote
3 Answers
29th Jun 2019, 5:51 PM
Gaurav Rawat
Why value changes for bool but not for int using auto
auto
bool
c++
int
vector
2 Votes
4 Answers
12th Jul 2022, 10:07 AM
Ketan Lalcheta
Why am I getting this warning when using extern int errno?
c
errno
errno.h
mingw
1 Vote
5 Answers
6th Mar 2022, 4:52 AM
Hacker-KR4636
What is the best way to create a random int list without repetition ?
optimization
random
1 Vote
7 Answers
30th Sep 2021, 6:21 PM
Arthur Le Floch
The schedule shows the sizeof int as 2 bytes while it should be 4 ....
sizeof
9 Votes
14 Answers
13th Feb 2018, 8:25 PM
Abdulhamid KAYAL
What is “main” in “ int main”
intmain
0 Votes
2 Answers
30th Dec 2017, 4:58 PM
Alan
What is the use of int main()
c++
0 Votes
2 Answers
14th Aug 2017, 4:38 PM
Bhatt Bhaumik
Is division of int data type snd float is possible in c???
reason
4 Votes
3 Answers
22nd Sep 2018, 4:22 AM
Sweet heart
why int main() is declared at the beginning of program ?
basics
beginner
c
int
2 Votes
6 Answers
6th Feb 2019, 4:44 PM
Pilli Revant Krishna Sagar
Can anyone tell me what's d use of this int function?
python
type-conversion
2 Votes
7 Answers
6th Dec 2015, 3:06 AM
Bilawal Sharma
How to print the name and int and char
java
variables
-1 Vote
3 Answers
17th Aug 2019, 11:32 AM
Hassan AlShangiti
what is diff. btween void main and int main
c++
2 Votes
3 Answers
15th Aug 2016, 2:35 PM
sherin mathew
Why there is 'int' before 'main' function? Int main ()
c++
variables
0 Votes
6 Answers
28th Oct 2016, 11:14 AM
quomoow
Comparing Scanner & String (or int , ...)
if-statemen
if-statement
value-types
1 Vote
1 Answer
23rd Aug 2020, 3:30 PM
PSL
#include<stdio.h> void main() { int i=2, j=3; printf("%d\n",func(i,j));} int func(int a,int b) { a=a-5; b++; return(!a+- -b);}
c
-4 Votes
2 Answers
28th Feb 2021, 3:43 PM
Ish Jaiswal
Why can't I use void main instead of int main.
c++
cout
2 Votes
4 Answers
16th Aug 2016, 4:48 AM
Amitesh
Benefits of using void main(), instead of int main()?
c++
main
2 Votes
3 Answers
23rd Sep 2016, 7:47 AM
Hector Sulbaran
Nullable int is value type or ref type ?
c#
3 Votes
2 Answers
2nd Feb 2018, 1:32 PM
manish balwani
Как в java округлить до целого числа?
int
java
0 Votes
16 Answers
26th Mar 2022, 9:19 PM
EnotGid
y is it a valid declaration in java: int f=1_0;
java
3 Votes
2 Answers
26th Jun 2017, 7:54 AM
kars
Hey guys, i started out this topic in devc++, and i used the variable int _a=3 but it showed 2 errors but not when used int a?
variables
2 Votes
6 Answers
28th May 2018, 5:06 PM
Bunny
Which is more optimum using an multidimensional array like. int arr[100][100]; or pointer to pointer like int **arr; with molloc
arrays
pointers
0 Votes
2 Answers
24th Jan 2021, 2:14 PM
Vaibhav
void main() = int main() return0 ?
c++
main
void
0 Votes
2 Answers
19th Oct 2016, 2:27 AM
윤종호
what is that output of this program #include<iostream.h> using namespace std; int main() { int e1=5, e2=20, e3 = 15; int *arr[ 3]= {&e1, &e2, &e3}; court<<*arr[*arr[1]-19]; return 0; }
c++
0 Votes
3 Answers
1st Aug 2016, 3:51 AM
Santhosha S R
int a=20,b=15; if(a>10) { a++; b++; } System.out.println(a+” ”+b);
java
0 Votes
2 Answers
12th Dec 2020, 4:04 AM
Pratyaksh Raj Singh
Why capacity changes for bool but not for int
bool
c++
capacity
int
size
vector
2 Votes
1 Answer
12th Jul 2022, 9:57 AM
Ketan Lalcheta
Under what condition can an int variable be assigned a char?
c++
char
int
1 Vote
4 Answers
5th Aug 2020, 9:29 AM
Solus
Can you tell me how to convert int to bool, please
c#
0 Votes
5 Answers
10th May 2020, 7:19 PM
E.Q
Why do we have to return 1 in int main() function?
c++
cpp
8 Votes
2 Answers
18th Oct 2016, 9:14 AM
Lara
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
18
19
20
...
50
Next >
Hot today
I don't know what to do
1 Votes
Problem from code coach.
1 Votes
HTML quest i tried all but idk why showing wrong.
3 Votes
How to ensure function does not modify shared pointer
1 Votes
Responsive Layout with Bootstrap
4 Votes
Where can I practice pyhton in soloelarn
0 Votes
Needs hwlp
0 Votes
Languages for animation and games development ?
1 Votes
Coding foundations vs Python Developer
0 Votes
What is the problem with this code?
0 Votes