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
Why size of any pointer variable depends on Computer Architecture ? And If not then on what it depends ?
c++
1 Vote
2 Réponses
9th Aug 2017, 3:01 AM
Arvind Singh Rawat
is there a issue in jump ahead question where it asks to define a variable and add 5 to it?
python
0 Vote
3 Réponses
21st Jul 2016, 1:13 PM
Ishan Bisht
What we will do if the range of the input data is greater then the capacity of the declared variable
c++
0 Vote
3 Réponses
22nd Oct 2016, 2:28 AM
abhishek
Is there any way I can introduce variable for the command of mysql example.execute("create database #var")in python?
databaseconnectivity
mysql
python
pythonmysql
0 Vote
1 Réponse
25th Nov 2019, 1:26 PM
Urmi
I want to transform variable class private and do encapsulation, abstraction, and inheritance with programing oriented object.
abstraction
encapsulation
inheritance
pratique
0 Vote
1 Réponse
28th May 2021, 12:25 PM
Malick Diagne
is possible to copy the whole content of one html file to javascript variable in other html?
css
html
javascript
0 Vote
1 Réponse
8th Aug 2017, 2:47 PM
Tharanes Thaara
How to include library in python and how to describe a variable as a particular data type
python
structure
0 Vote
1 Réponse
23rd Oct 2016, 5:16 PM
harish
What is the maximum number which a for loop can reach? (Hint: for any variable type )
can
forloop
integer
loop
maximum
reach
value
0 Vote
1 Réponse
27th May 2017, 1:06 PM
Furkan AYDOĞAN
Why do I can't initialize protected variable through constructors aren't they inherited protected members of derived class?
c++
polymorphism
1 Vote
1 Réponse
23rd Dec 2016, 6:07 PM
Abhishek Sharma
Randomize in JavaScript
javascript
math.random
random
var
variable
1 Vote
3 Réponses
13th Jan 2018, 9:26 PM
YoBoi
What's the difference between ++x and x++ in java
++x
instruction
java
variable
x++
1 Vote
2 Réponses
1st Oct 2017, 3:24 PM
Stefko Yoshovski
I am using a program to check whether character is constant or variable I am using switch statement .
c++,
switch
0 Vote
1 Réponse
22nd Mar 2021, 5:15 AM
Nitin Bisht
Is there a way to store a variable in Java without losing it even after stopping the program without using files or databases ?
java
0 Vote
5 Réponses
13th Jul 2017, 10:33 PM
ilyes younes
How can I reassing a global variables in local namespaces in Python?
big_fat_gorilla
function
global
namespace
nonlocal
python
reassign
variable
3 Votes
5 Réponses
30th Mar 2019, 7:45 PM
Seb TheS
how can we invoke global variable in C program? ....P.S. I KNOW HOW TO DO IN C++ but not sure about C......
c
scope
variables
0 Vote
2 Réponses
26th Jun 2018, 9:15 AM
[ ]
In public section- is 'var' acting as a data type for (a) during initialization. Or is (a) being assigned to variable 'var'.
c++
classes
this
1 Vote
3 Réponses
13th Feb 2017, 7:36 AM
Black Temple
In C++, how do you compute the side length of a square whose area is stored in the variable area?
amel
aravid
bbc
c++
heken
steven
1 Vote
2 Réponses
31st Jan 2017, 10:09 PM
Zeyad Sharo
fill in the blanks to take the value of the x variable from user input double its value and print it
python
-1 Vote
2 Réponses
25th Oct 2021, 3:55 AM
Siva Siva
Function body have variable and print stmt , when outside of function first print then call body function give only error.
!scope
body
console
experiment
functions
log
print
1 Vote
1 Réponse
30th Aug 2020, 9:49 AM
ASP
Here the output is 0, but why not 1 ? is the scope of variable 'a' ends with the method ..?
increment
java
methods
0 Vote
2 Réponses
14th Dec 2018, 4:43 AM
Sharief
Can we declare a variable as static final and assign a value to it in the next line?
final
java
0 Vote
2 Réponses
28th Jul 2016, 4:48 AM
Selva Kumar
The address of a variable can be directly accessed by Ampersand....Then why do we use pointers isn't useless....
ampersand
c++
pointers
0 Vote
1 Réponse
15th Dec 2018, 12:20 PM
Aamir Mehmood
Why we use same name of instance variable as the argument name( of initialize method) followed by @
classes
ruby
0 Vote
2 Réponses
2nd Dec 2016, 12:57 PM
abhishek sharma
How we can create private functions,variable in python.
coding
java
private
public
python
python3
sololearn
variable
3 Votes
2 Réponses
22nd Oct 2018, 4:36 PM
Maninder $ingh
In the variable lesson, I don't understand why the word "not" is in another color and rejected in "spaces are not allowed
python3
variables
0 Vote
2 Réponses
8th Jul 2020, 7:55 PM
DESMOND OMOREGBEE
In c what is meant by char *s? I know char s is declaring s variable of character but what * means?
y
0 Vote
3 Réponses
22nd Jul 2018, 11:10 AM
Saurabh Jankat
How to find the data type of variables in java?
data
find
in
java
of
type
variable
1 Vote
4 Réponses
27th Oct 2021, 6:15 AM
Anima Singh Dhabal
Why can I return a local variable from a function? Shouldn't local variables be deleted from the stack after function execution?
functions
0 Vote
2 Réponses
29th Nov 2018, 10:12 AM
Matthias Folte
¿Una ID en javascript puede meterse en una variable y trabajar con ella en lugar de con la misma ID?
jquery
variable_con_bucles
variables
1 Vote
1 Réponse
18th Jul 2018, 6:13 AM
Angel Luis García-Junco Lora
How can strings be allocated in the heap using pointers. Strings can have variable size then how can they given a space in heap?
allocation
c++
cin
guest
memory
new
pointers
strings
0 Vote
3 Réponses
4th Jan 2020, 2:34 PM
Sajal Chuttani
PHP variable example start with $ but could anyone explain what's mean by $ double dollar sing ??sorry for RIP english 😁
$a
double_dollar
2 Votes
2 Réponses
3rd Dec 2017, 10:46 AM
Arnab Bhattacharya
Variable types are not declared while setting a value. then how or what number of bytes are being allocated in the memory?
python
variables
1 Vote
3 Réponses
2nd Jul 2016, 7:30 PM
Protiti sengupta
How do I put someone's input into a variable and gather info about the input and use it in an if statement?
python
1 Vote
3 Réponses
25th Mar 2017, 10:56 PM
privrax.
How would i go about re-generating a random number?
c++
cpp
number
random
variable
1 Vote
3 Réponses
27th Jul 2017, 4:46 PM
X-1
How can i relern html to get more xp?
coder
hacker
html
sololearn
variable
2 Votes
2 Réponses
13th Jan 2018, 7:57 AM
Shahan
explain this code please.
data
java
method
type
variable
1 Vote
3 Réponses
18th Mar 2017, 12:41 PM
Mogammad Shameer Losper
Which type of variable we will use if we have both integers and alphabets in a same 'variable'..?
java
variables
0 Vote
2 Réponses
7th Feb 2017, 12:35 AM
Muhammad Ahsan
Why does it say to only declare the variable once but then that we can update and change it as often as you want?
c++
variables
1 Vote
4 Réponses
5th May 2017, 1:13 AM
Jullian Kline
What are the defaults? If you just state a variable int x; What is the default size and is it automatically signed or unsigned?
c++
data-types
1 Vote
4 Réponses
2nd Nov 2015, 4:51 PM
OTheB
Just comparing String variable with a raw String, if any mistake is there then Please let me know . Thanks in advance
c++
0 Vote
3 Réponses
18th Oct 2018, 5:39 PM
Shas3 Annabond
Why specifying the data type for a given variable in C++, more than once results in a syntax error ?
error
syntax
variables
1 Vote
2 Réponses
29th Jan 2018, 5:48 PM
FullCoder ALCHEMIST
I wonder. Since we don't need to declare a variable, does this mean that a variable which first I assign a numeric value can be assigned later with, for example, string value?
data-types
php
3 Votes
8 Réponses
2nd Mar 2016, 4:41 AM
Ade Kurniawan
Pls What's the code to get what variable type a result is and how do I use it in conditional statements like 'if'?
python
type
variable
variables
0 Vote
2 Réponses
7th Dec 2016, 1:00 PM
Ade-onojobi Oluwadewalade
What is $_GET ?
array
get
php
variable
0 Vote
2 Réponses
17th Oct 2016, 5:39 PM
Hussein Hallafi
Function variables problem
error
function
game
html
javascript
js
problem
teleport
variable
web
8 Votes
2 Réponses
17th Apr 2018, 12:35 PM
Arne Van Kerckvoorde
I want to increment the global variable when i call a function but its giving me an error can some body help me out
python3
0 Vote
3 Réponses
7th Oct 2018, 4:46 PM
Velivela Sai Chinna Madhu Babu
[Solved, but I still have a question] C++ Question re assigning int to another var as hex
c++
hex
int
reassign
variable
0 Vote
2 Réponses
29th Nov 2022, 10:50 PM
Scott D
How do i add a variable within a string block ? For example: " my name is + myVar+ and I age is + age+."
javascript
0 Vote
5 Réponses
26th Dec 2017, 5:35 AM
Yasir Taj
What is the difference between private static int kilos and private int kilos (ignorr the name of the variable is just an example)
java
1 Vote
3 Réponses
22nd Apr 2017, 1:25 AM
Isaac
In the while loop why the value of variable also shown with the other values obtained when the loop is completed.. please reply.
c++
loops
0 Vote
4 Réponses
8th Jul 2017, 2:39 PM
Kartikey Sriwardhan
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
44
45
46
...
49
Suivant >
Aujourd'hui en vedette
New code
1 Votes
Does anyone have the solution for this challenge?
1 Votes
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Solved# Survey data format in coding for data
1 Votes
Solved Ai generated practice the last question
0 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 to add unordered lists in HTML.
0 Votes
I am beginner,This is will be right code?
0 Votes
What is the use of .kt classes in the React Native project
0 Votes