Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
Whenever I run int it says type mismatch: cannot convert from string to int
java
operators
0 Vote
3 Réponses
14th Jul 2016, 10:21 PM
romit chahar
Why this int function doesnt accept float??
python
-1 Vote
4 Réponses
4th Jul 2021, 10:15 AM
Son
#include <stdio.h> int main() { int i,n; char a[100]; gets(a); n=strlen(a); for(i=0;i<=n;i++) { printf("%s",a[n-i]); }
c
0 Vote
2 Réponses
2nd Dec 2021, 2:10 PM
Karthik C
What is the difference between int arr[ ] and int [ ] arr
arrays
java
syntax
1 Vote
2 Réponses
19th Feb 2017, 4:35 PM
VahramSahakyan
int x = 12 ; int y= ++x ; cout << x ; . In this what is the output
answer
0 Vote
10 Réponses
20th Jun 2018, 4:29 PM
Superman Batman
Input multi int numbers in one line
java
1 Vote
6 Réponses
10th May 2017, 8:31 PM
Mohamed Yassine Laggoun
How to reverse int in python ?
how
in
int
python?
reverse
to
2 Votes
3 Réponses
26th May 2021, 6:15 AM
Tiger Coder
How many store values in int type
operators
0 Vote
7 Réponses
21st Mar 2018, 8:06 PM
shivam Koli
Why we need to use only int *p = new int there int only or we can use any other data type
pointers
1 Vote
2 Réponses
13th Apr 2020, 1:25 PM
Sameer Sowrab
Void main() { Int x = 10; Int *y = (&x); Int ***z = (&y); Printf("%d %d %d", **z, *y, x); }
c#
-2 Votes
4 Réponses
19th Mar 2017, 6:14 AM
lalith narayan
What is meaning of int total =0?what happens if int total=2 or 5 ...
loops
0 Vote
2 Réponses
25th Jul 2019, 1:44 PM
Monish S
int x = 8 int y = 15 (x what will be here y)
c#
cs
0 Vote
2 Réponses
27th May 2018, 7:16 AM
Running in the 90s
It works just with int values?
int
switch
1 Vote
2 Réponses
28th Apr 2019, 8:35 PM
Facundo Jurado
class person{ private : int age=8; public : person(int age){ cout<<this->age; } }; int main() {person p(2);}
c++
output
0 Vote
6 Réponses
5th Jul 2017, 2:17 PM
Kushagra Agarwal
#include <iostream> using namespace std; int main() { int x=2; cout <<(x-++--x); return 1; }
c++
data-types
0 Vote
4 Réponses
25th Sep 2016, 12:40 PM
Sourabh Goyal
#include <stdio.h> int main() { int var1,var2; var1=10; var2=10; var2=2*(++var1+2) - 2*(--var1-2); printf("Var1=%d \n Var2=%
c
1 Vote
1 Réponse
25th Mar 2019, 10:17 PM
Gab
Int a=0; while(a) {printf("Hii");} What will be the output??
c
cpp
java
js
loop
programming
python
while
0 Vote
9 Réponses
3rd Dec 2021, 11:45 AM
Ashutosh Modgil
How to convert int to strings in Python?
convert
integer
python3
string
2 Votes
4 Réponses
26th Jul 2018, 2:58 AM
TerrIA
using namespace std; struct student{ int roll; char name[30]; char fname[30]; float cgpa; } s[10]; int main (void) { }
c++
0 Vote
13 Réponses
13th Dec 2017, 7:53 PM
Rehan Solangi
Size of int is 2 or 4
data-types
1 Vote
3 Réponses
9th Feb 2020, 4:04 AM
ARAVINDH
Class java int and string print.
class
int
java
print
strings
0 Vote
4 Réponses
14th Jul 2017, 7:17 AM
D_Stark
Int a, b; value numeric
c++
variables
1 Vote
2 Réponses
5th Aug 2017, 3:01 PM
Denis Nascimento Vieira
int main() { cout<<(1&&45||0); }
namratha
0 Vote
1 Réponse
31st Oct 2019, 4:40 PM
Ashish kumar
Rearrange the code to declare a method returning the greater of the two arguments. return a; } public int max(int a, int b) { }
java
methods
-1 Vote
5 Réponses
4th Jul 2017, 7:38 AM
Walter Mugo
Can there be two Int variables?
-
-2 Votes
3 Réponses
15th Jun 2020, 10:08 PM
David Chukwunyere
(JavaScript) outputs string instead of int
help
javascript
0 Vote
4 Réponses
13th Dec 2017, 1:38 PM
ReimarPB
How to make it work for both int and double
c++
inheritance
1 Vote
8 Réponses
1st Mar 2024, 7:23 PM
Ketan Lalcheta
#include <stdio.h> int call(int (*func)(int),int arg) { return func(arg); } int inc(int var) { return ++var;}
c
0 Vote
3 Réponses
16th May 2022, 4:26 AM
Ashutosh Kumar
#include <iostream> int main() { int i=8,j=3,x; x=i++; j=++i; cout<<x; cout<<--j<<j--<<++j; return 0;}
c++
output
1 Vote
2 Réponses
7th Feb 2017, 1:02 PM
Vaaru
How to covert list of Strings to int ?
arraylist
class
int
java
object
split
strings
to
1 Vote
12 Réponses
4th Jul 2018, 4:43 AM
Shamsulhaq Alkozay
Qus5:- Is that possible to store 32768 in an int data type variable?
ajax
android
c
java
php
14 Votes
8 Réponses
13th May 2019, 7:37 AM
Deepika Mourya
Is unsigned long int okay?
#c++
#datatype
#double
#int
#long
0 Vote
1 Réponse
8th Sep 2019, 10:20 AM
Maleeha Khalid
#include<stdio.h> int main() { int i,j,k; for(i=1;i<=3;i++) { k = i; for(j=1;j<=i;j++) { printf("%d ", k
c
0 Vote
3 Réponses
2nd Aug 2021, 8:38 AM
Husnain Ansari
How to get int instead of a float output from int and float mathematical operations
float
int
math
operands
output
0 Vote
2 Réponses
5th Nov 2021, 12:03 PM
Mohammed Tareq
what's the use of Int x=42
c#
loops
0 Vote
3 Réponses
8th Jul 2016, 10:14 AM
Ankit
How to convert string to int array?
c
c++
0 Vote
3 Réponses
14th May 2021, 9:39 AM
reza
int main () { int a[3] = {2,7,3}; for (int i=0; i<3; i++){ a[i]-=i; } cout<<a[i]; }
arrays
c++
1 Vote
6 Réponses
3rd Aug 2016, 4:43 PM
Hakatek
int score = 5; int *scorePtr; scorePtr = &score; cout << scorePtr << endl; //Outputs "0x29fee8"
c++
0 Vote
3 Réponses
11th Jun 2018, 7:30 AM
rohit
what exactly does this statement imply: int &a=2?
&operator
c++
cpp
0 Vote
10 Réponses
21st Feb 2017, 1:42 PM
Ashish Kumar Verma
can anyone explain this output? #include <iostream> using namespace std; int x(int &a,int &b) { a=3; b=4; return a+b; } int main() { int a=2; int b=7; int c=x(a,a); cout <<a<<endl<<b<<endl<<c; } output:- 4 7 8
c++
0 Vote
2 Réponses
23rd Aug 2016, 11:23 AM
Lekhraj Singh
#include <stdio.h> int main() { int i=3; if(!i) i++; i++; if(i==3) i+=2; i+=2; printf("%d",i); return 0; }
if
0 Vote
4 Réponses
21st Aug 2020, 9:15 AM
Rohit Ahuja
Converting character digit into int type
c++
0 Vote
4 Réponses
29th Jul 2017, 11:44 AM
Rishubh Naik
When I use void main(){ instead of int main()
c
1 Vote
7 Réponses
15th Oct 2020, 4:59 AM
Nafis Sadiq Bhuyan
What is str and int actually? (Solved)
python
0 Vote
3 Réponses
13th Jun 2019, 4:45 PM
Michael Butoi
cast int to char cant output directly.
cast
char
convert
int
java
2 Votes
4 Réponses
31st Jul 2017, 3:40 AM
Jordan Chapman
Why we use int out of main function??
c/c++
variables
2 Votes
4 Réponses
28th Jun 2019, 4:54 PM
Sahil P Gaonkar
int myAge; .. now the "int" means ?
c#
variables
2 Votes
8 Réponses
15th Jan 2017, 7:13 PM
Asif khan
Size of int datatype in python
data-types
int
python3
size
0 Vote
2 Réponses
13th Jun 2020, 10:28 AM
Yasir Ali Khan
how many bits can int store?
c++
variables
0 Vote
4 Réponses
9th Jul 2016, 3:09 PM
asar
public class Program { public static void main(String[] args) { int x[]={110,20,30,40,50,70}; int y[]; y=x;
operands
0 Vote
1 Réponse
27th Sep 2019, 3:24 PM
Anuj Patel
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
10
11
12
...
50
Suivant >
Aujourd'hui en vedette
Guys help please
1 Votes
Python question
2 Votes
Python
1 Votes
Are websites hackable?
1 Votes
C# and sql
1 Votes
Void functional void with bool function
0 Votes
TICTACTOE
0 Votes
What course to take for AI?
0 Votes
Error
0 Votes
What's an unsigned int?
0 Votes