Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Is there a way to check that a variable is an int?
c++
variable_type
1 Vote
7 Answers
31st Aug 2019, 7:26 PM
rodwynnejones
How do i check if input is always an int?
ruby
0 Votes
4 Answers
2nd Aug 2017, 8:05 AM
James Marotta
Wat is it int? And when i need 2 use it?
java
jdk
0 Votes
6 Answers
8th Jan 2017, 1:30 PM
fsafasfsa fsafsa
Why char is given int? Why its not showing error?explain output plz.
c
char
unsigned
0 Votes
3 Answers
26th Dec 2021, 10:56 AM
gaurav kumar
как сделать так, чтобы переменная b могла быть и char и int?
c++
cpp
kak?
0 Votes
3 Answers
18th Dec 2019, 8:15 AM
Игорь Мороз
if c=float a/int b, should i declare c as float or int?
c++
1 Vote
4 Answers
26th Oct 2017, 4:01 AM
Siti Nor Amirah Binti Mustaffa
Does var y = 15; not automatically declare y as an int?
c#
0 Votes
2 Answers
2nd Sep 2019, 2:50 PM
Nico van der Merwe
Can this statement be used with Strings, or is only int?
if-statements
java
2 Votes
1 Answer
26th Oct 2016, 6:55 AM
Luka Bjelica
How can I convert a float into int? Is it possible?
data-types
python
1 Vote
1 Answer
4th Aug 2016, 12:40 PM
Kelvin K
How to display the values of a 2D mixed array String and Int?
arrays
begginer
display
java
mixed
output
russian
1 Vote
2 Answers
2nd Mar 2019, 10:12 PM
Даник Новиков
Can I return different types other than void and int? Maybe char, string, float, double etc?
c++
functions
3 Votes
7 Answers
22nd Jan 2016, 1:31 AM
moise
If I have some string with 10 characters abcdefghij. How can I make this string to long int?
c++
1 Vote
13 Answers
12th Jan 2021, 4:41 AM
TeaserCode
Can someone explain to me why this app used double and not int? (I know int will work)
operators
1 Vote
18 Answers
25th Dec 2017, 6:34 PM
Eli Bitton
In C++ do you prefer main() to return a void or an int?
c++
error
functions
programmingpractices
return
value-types
0 Votes
3 Answers
30th Sep 2017, 3:52 AM
GW III
Why is it giving error of not being able to compare to an int?
java
0 Votes
3 Answers
18th Oct 2018, 2:18 PM
shantanu sontakke
why do you convert to a double a string value = "77" instead of an int?
c#
input
type-conversion
0 Votes
7 Answers
15th Aug 2016, 4:03 AM
Lezly Rodríguez D
How can I convert the two other elements in the list from str to int?
int
lists
python
str
0 Votes
2 Answers
27th Oct 2022, 3:36 PM
Shantanu
Won't you have to turn the number into a int? because prompt take text?
javascript
math
0 Votes
3 Answers
17th Jun 2016, 6:59 AM
Mark Brown
Hi guys! Whats the difference btwn void and int? This two stuffs complicate my brain
c++
java
1 Vote
2 Answers
23rd May 2018, 10:14 PM
Ahmad Mustapha Sadauki
Why is it that the size (memory used) of char is 4x smaller than the size of int?
c
memory
3 Votes
5 Answers
24th Sep 2018, 3:01 PM
davy hermans
What is the difference between int and signed int? Both of them may be positive or negative...
c++
data-types
0 Votes
6 Answers
9th Dec 2017, 5:15 PM
eksponens
It confuses, why we have to convert number input into integer when it is already int?
c#
input
1 Vote
3 Answers
3rd May 2016, 7:33 PM
Siim Bobkov
why need to use int? why not just float everything since float must containt and accept integer?
c#
variables
0 Votes
5 Answers
25th Sep 2016, 4:38 AM
Maximilian Yuen
Is there a way to know maximum 'value'(not size) that a data type can hold??like long long int?
c
in
int
long
maximum
of
value
1 Vote
5 Answers
18th Jul 2018, 12:10 PM
THE GAMER
Can someone help me take multiple numbers from an input (a string) and help me map it to INT?
python3
0 Votes
4 Answers
17th Oct 2020, 12:11 AM
Brenner Pieszak
Can we use any other data type like boolean or float in case of int?
data-types
php
1 Vote
1 Answer
17th Jul 2016, 1:16 AM
Vani Prathyusha
In C and C++ Main function doesn't return any value then why we prefer it's return type as int?
data-types
return
1 Vote
3 Answers
19th Jun 2018, 5:47 PM
Bhautik Donga
Why both of expressions doesnt return 5 as result, since the first one is being converted to int?
type-conversion
0 Votes
2 Answers
16th Jul 2018, 8:41 AM
André Costa
Why we are not using void main for declaring a function? Instead we are using such as int?
c++
functions
0 Votes
3 Answers
19th Oct 2016, 2:53 PM
Abhay Selva
String.valueof() and Integer.tostring() does these both methods performs the same task to convert from string to int?
java
0 Votes
2 Answers
3rd Aug 2017, 7:06 PM
Ashish Shukla
Why the pointer increases by 4 when the increment operator is used (ptr++)? Why there's something to do with int?
increment-operator
pointers
1 Vote
2 Answers
4th Dec 2018, 3:53 PM
Konybud
The output is string. Anyone knows how can I get output in int? I want to divide 1 by "Output".
int
output
python3
strings
0 Votes
1 Answer
3rd Oct 2020, 3:21 AM
MR Jey
What data type can I use if I need bigger numbers then the one's I can declare with unsigned long int?
c++
sizeof
0 Votes
3 Answers
8th Aug 2016, 4:53 AM
Robert—Valentin Veliscu
How can I send an error in Java when a user through the Scanner enters a non-numeric symbol in a variable of type int?
java
1 Vote
2 Answers
23rd Jul 2019, 3:34 AM
Yahir Maldonado
how much is the default size of int? is it refer to bit size? 32 bit? what is it for anyway? is it important?
c++
data-types
0 Votes
4 Answers
6th Jul 2016, 12:29 AM
Jastria Rahmat
Can you determine the largest integer printed using the for loop.. i.e. when it goes lo infinte loop.. what will be the max int?
python3
1 Vote
1 Answer
13th Oct 2019, 9:17 AM
H.BHARAT CHANDRA
So what is the size of an int? In the Console it says 4, but on the Summary it says 2 ( for standard int, not short)?
c++
sizeof
0 Votes
2 Answers
4th Apr 2016, 3:18 PM
Patrick White
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
Next >
Hot today
How to get better with problem-solving and programming
2 Votes
Odd even threads without condition variable
0 Votes
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Write a program to find the strings are in isogram or not
0 Votes
What's wrong with this code ? ( Beginner)
1 Votes
Please rate my code from 1 to 10
2 Votes
How to start
0 Votes