Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Why is ++/-- - different behavior for implementations of type int and my class ? ... there seem to be no errors.
c++
classes
increment
operator-overloading
8 Votes
4 Answers
9th Oct 2020, 6:55 PM
Michail Getmanskiy
Why double = 5/2 is 2.0 in java? Why it is not 2.5?
double
int
java
0 Votes
5 Answers
12th Sep 2019, 11:17 PM
Abman
how do i round up the the nearest whole number without importing math. Thanks
int
python3
roundup
1 Vote
4 Answers
12th Nov 2022, 9:28 AM
Steven kervick
Как проверить строку?
int
python
strings
2 Votes
5 Answers
17th May 2020, 8:58 PM
Amiran Bogomol
Why can't I return a void value in c++? Is it compulsory to return int value everytime?
c++
if-statements
3 Votes
5 Answers
13th Oct 2017, 3:20 PM
Manikanta
public class IfClass { public static void main(String[] args) { int noOfPetals = 5; if (noOfPetals % 2 ==
java
1 Vote
4 Answers
24th Jul 2020, 4:54 AM
Gautam Patel
Write a func that takes four int value and return avg in double
avg
0 Votes
2 Answers
15th May 2018, 10:08 AM
Mritunjay Pandey
Wy we have to use int sum; instead can we use only sum
java
0 Votes
3 Answers
18th Jun 2017, 9:09 AM
R Prathibha
что такое язык програмирония
formatting
int
0 Votes
2 Answers
22nd Jun 2019, 12:35 PM
Асад Фазлыев
Why doesn't java support unsigned ints?
int
java
1 Vote
3 Answers
20th Feb 2017, 8:04 PM
Jhon
I think this answer is not right,what do you think?
int
java
loops
2 Votes
3 Answers
10th Jul 2018, 3:31 PM
wentao
why it is not show any output when run this program #include<iostream> using namespace std; int main(){ for(;;){ int i=0; if(i==1){ cout<<i; break; } ++i; }}
c++
0 Votes
2 Answers
2nd Sep 2016, 6:28 PM
Lekhraj Singh
What are some ways to write a function that converts int numbers to binary in python?
binary
coding
first_project
functions
python
2 Votes
2 Answers
18th Jun 2020, 12:44 AM
Nathan Trapero
Rearrange the code blocks to form a valid C++ program: #include <iostream> using namespace std; int main() { cout << "Awesome!
c++
-2 Votes
3 Answers
9th Dec 2016, 2:00 AM
Md Ãyõûb
How to declare values of x and y into z?
arrays
c++
cpp
int
value
1 Vote
32 Answers
6th Jun 2017, 11:11 AM
Γιάννης Δημητριάδης
public class Program { public static void main(String[] args) { int x=8, y=2; System.out.println(y%x);
q
1 Vote
2 Answers
30th Dec 2019, 4:26 PM
BAYODE BLESSING AKINBOLA
Why is it int is the greater than a? Someone help me! So confuse.
else-statements
if-statements
python3
0 Votes
2 Answers
31st Jan 2019, 10:36 AM
Khalid Sanggoyod
Give the output of the following. int x=13^3&8; System.out.println(x); Please show the process.
java
1 Vote
2 Answers
24th Feb 2017, 6:24 PM
Arghyadeep Ghosh
What's the difference between the 3 possible conversions of an int on C#
c#
0 Votes
1 Answer
25th Apr 2019, 2:40 AM
Kore Martins
Which software is properly useful for java , javascript and c++ in Personal Computer
int
main
0 Votes
3 Answers
20th Apr 2019, 9:24 AM
Kartik Bharwani
Remove duplicates from a list
int
lists
python
2 Votes
2 Answers
22nd Aug 2024, 8:02 PM
Melkon
Can anyone tell me the answer for this question int X=9 and X%=11,printf("%d",X).what is the value of X?
4
0 Votes
6 Answers
3rd Jul 2019, 3:48 PM
Nagadeepthi
Uninitialized integer variable
c++
cout
int
1 Vote
5 Answers
4th Jun 2018, 11:36 AM
Ketan Lalcheta
int [] a, b[],c ; int [] a , b,[]c ; a)both is right? b) both are invalid?? c) only 1st is correct d) only 2nd is correct
java
0 Votes
2 Answers
25th Sep 2017, 6:24 PM
Ankit Singh Rawat
How can I enter more than one "int" statement?
c++
int
1 Vote
3 Answers
19th Feb 2018, 10:20 PM
Bhekumusicayise
Какой по ващему язык програмирование лудше c# или c++ ?
int
require
1 Vote
1 Answer
30th Dec 2019, 1:30 PM
Артем
How can i make user input only numbers on console c#
c#
int
1 Vote
2 Answers
2nd Mar 2017, 11:48 PM
El missouri
Посоветуйте пожалуйста хорошую книгу на языке c# для начинающих?
comments
int
0 Votes
2 Answers
5th Jan 2020, 7:36 PM
Артем
How to know the number of element stored in this array? int arr[5]={1,2,4}; I mean which method should be used for.? In C++
c++
7 Votes
12 Answers
1st Jun 2017, 8:26 PM
BENOTMANE
#include <iostream> using namespace std; int main() { cout<<12+"good morning\n"-24; return 0; }
c++
1 Vote
1 Answer
4th May 2017, 6:20 PM
siddiqui junaid
How to initialize this array directly in C++ & C#? Int array [2][3][2];
3d
array
c#
c++
initialize
1 Vote
2 Answers
7th Oct 2017, 2:40 PM
Super Programmer
Understanding y = int(str(y)
int
python
str
1 Vote
2 Answers
20th Aug 2020, 8:18 PM
Michael King
Fill in the blanks to create an abstract class with an abstract method and inherit from it. abstract class Animal { public int
abstract-classes
-11 Votes
11 Answers
18th Nov 2018, 12:30 PM
Louie Jay Gitgitin Salvaña
Why the given code worked?
float
int
python
1 Vote
7 Answers
31st Dec 2018, 10:06 AM
Ashutosh Dash
In C++, why does the value turn negative when a very large stored variable is printed out?
c++
cout
int
output
variables
4 Votes
6 Answers
4th Sep 2018, 3:24 PM
Michael
What is the value of k after operation? int k = 5; k += k++ + ++k; why its output depends on compiler?
dhaval
sololearn
6 Votes
11 Answers
24th Dec 2016, 7:29 PM
Ajay Agrawal
В одном из уроков был пример int x = 10 ; double = 20 ; Оба числа целые ,причем сдесь double ?
doubl
int
1 Vote
2 Answers
21st Jun 2018, 10:07 AM
Kisliy
Is there some data type greater than unsigned long long int to store integers?
bigint
c++
gmp
1 Vote
2 Answers
15th Dec 2016, 4:54 PM
Mayank KUVAR
# include <iostream.h> # include <std.h> int main() { cout<<"hello world"; return 0; }
c++
2 Votes
2 Answers
30th Jan 2018, 3:26 PM
Sakshi
Pls explain this decrementation (C#)
cs
decrementation
int
0 Votes
5 Answers
22nd Feb 2019, 10:52 PM
Adrian Grill
What is the value of the variable after executing the following sentence:
7%(3+5)%5;
E
int
0 Votes
9 Answers
14th May 2017, 6:59 PM
gamal harfoush
So in this instance I'm confused. We're voiding the int x but then in the last part we say int main and our output is x.
functions
0 Votes
1 Answer
11th Apr 2018, 2:47 AM
Sir
#include <iostream> using namespace std; int main() { string s = "SoloLearn"; cout << (s[1]==s[3]); }
c++
1 Vote
2 Answers
28th Mar 2023, 11:44 AM
Muhammad Bilal
How to know number after point in c#
c#
convert
float
int
2 Votes
7 Answers
6th Jan 2024, 3:04 PM
Ruben Melikyan
Утро доброе!
int
x=3;
1 Vote
1 Answer
17th Apr 2019, 3:41 AM
Михаил Андрющенко
Can anyone explain this java statement and the value of x after evaluating::- where int x=4
functions
increment
java
operators
1 Vote
2 Answers
17th Jul 2018, 5:11 PM
Neha Dhar
In Java how can i take input from user and store in variable like take some int input from user
java
9 Votes
3 Answers
8th Feb 2017, 7:07 AM
adeel salim
int main(){ float a = 0.7; if(0.7>a) printf("hi"); else printf("bye "); } output: hi <---can anyone explain the above code.
c
language
0 Votes
4 Answers
30th May 2019, 3:08 AM
Bala Kumaran
What is () operator for three integer operands
int
operands
operators
5 Votes
1 Answer
21st Mar 2018, 2:02 PM
Ketan Lalcheta
Why does this code return always false?
int
isinstance
python
1 Vote
5 Answers
21st Apr 2018, 5:48 PM
Guido Parlatore
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
31
32
33
...
50
Next >
Hot today
Is this realistic enough?
2 Votes
"Which is harder to master — Machine Learning or Cybersecurity? And why?"
1 Votes
Need friends
0 Votes
"What’s the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
Web Development
0 Votes
Cybersecurity techies
3 Votes
Please complete this code.
0 Votes
Can someone please explain python for me
0 Votes
Can u learn multiple language at the same time, without misplacing the formats of each with the other
0 Votes
What's wrong with code?
0 Votes