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
How to avoid const member function updating value of pointer variable
const
data_member
member_function
pointer
1 Vote
9 Réponses
24th Dec 2020, 2:25 PM
Ketan Lalcheta
In JavaScript what is Difference between var, let and Const
difference
0 Vote
3 Réponses
20th Aug 2021, 4:06 PM
mahesh Sherekar (Kulkarni)
const shared pointer copy issue | Custom shared pointer
c++
const
shared_pointer
1 Vote
2 Réponses
3rd Sep 2023, 5:07 PM
Ketan Lalcheta
In line 12 why did we added const ?
c++
class
code
const
cop
object
0 Vote
2 Réponses
17th Dec 2022, 2:08 PM
Lalala
What is the difference between const and static keywords in c++?
1
5 Votes
2 Réponses
10th Mar 2019, 5:34 AM
Shweta Chindhe
What is the difference between #define and const in C?
c
interview
language
programming
question
skill
5 Votes
2 Réponses
24th Feb 2017, 6:31 AM
Logan
Why constexpr is working with cin and non const
c++
cin
constexpr
0 Vote
2 Réponses
1st Dec 2022, 5:32 PM
Ketan Lalcheta
Разница между string, char, const char и char[256].
c++
char
char[256]
const_char
string
types
0 Vote
1 Réponse
21st Dec 2018, 8:01 PM
softer
Why is const and static used in c++?whats its benefits?
const
static
3 Votes
3 Réponses
1st Dec 2016, 7:54 AM
sadiya zainab
What is the purpose of const char *
c++
0 Vote
1 Réponse
15th Nov 2016, 6:30 PM
Sand
What is the difference between define and const in php?
const
constants
define
php
2 Votes
2 Réponses
23rd Apr 2017, 7:13 PM
Muhammad Saimon Uddin
What is the use of static const members in c++?
const
members
static
0 Vote
5 Réponses
25th Feb 2017, 2:12 PM
Krishna Subhash Sonawane
(name, birth_year, current_year) { const age = current_year - birth_year; const response = name + " is " + age;
answer
-2 Votes
3 Réponses
2nd Dec 2021, 3:02 PM
Joktan Audu
For everyone, who want PI, e or some other const
const
cpp
2 Votes
1 Réponse
28th Apr 2018, 6:18 PM
Ixidot
What is the defrence between Var , const ,let in JavaScript ?
javascript
1 Vote
5 Réponses
12th May 2020, 4:15 PM
Yacine Becha
Why const l value ref is called r value ref
c++
lvalue
reference-types
rvalue
1 Vote
1 Réponse
27th Dec 2024, 9:31 PM
Ketan Lalcheta
I can declare variable without let, const or var keyword
javascript
0 Vote
2 Réponses
14th Jul 2020, 12:10 PM
zexu knub
Why do we use constexpr and const in c++
c++
1 Vote
1 Réponse
12th Jun 2017, 1:33 PM
Asif
Can you overload class methods with const and non-const? C++
c++
constants
methods
0 Vote
4 Réponses
15th Apr 2017, 7:58 AM
Yur3k
Really immutable? As it says about const variables in JavaScript tutorial (https://www.sololearn.com/learn/JavaScript/2969/)
const
es6
3 Votes
1 Réponse
22nd Mar 2019, 10:06 AM
Vladick
can anyone explain "std::ostream& IntArray<T>::operator<<(std::ostream&, const IntArray<T>&)' must take exactly one argument"
c++
class
template
1 Vote
5 Réponses
8th Jun 2019, 8:13 PM
Abrorbek Zukhriddinov
Is it possible to print the address of a const declared variable?
c++
constants
1 Vote
8 Réponses
8th Aug 2016, 7:41 PM
Atul Anand Jha
Why do we use const data type before int main()?
c++
datatype
3 Votes
1 Réponse
14th Nov 2016, 3:37 PM
Muhammad Hamza
is it a good practice to use only let and const in JavaScript without using var?
const
javascript
let
6 Votes
12 Réponses
2nd Jun 2020, 10:27 AM
Lucky victory
So why would I ever use const instead of readonly?
c#
readonly
1 Vote
2 Réponses
8th May 2016, 12:27 PM
Martin M. Klöckener
Why we r using double in const double in data type
data-types
0 Vote
3 Réponses
20th Oct 2018, 10:32 AM
Sushmanth
What is the difference between const and static in c++?
c++
1 Vote
2 Réponses
20th Jan 2018, 6:27 PM
Amit Pokhrel
Why typeof var, const - error, but typeof let - undefined?
javascript
1 Vote
1 Réponse
11th Aug 2019, 3:52 PM
Алексей Алексеев
what is the difference between readonly, static, and const in c#?
and
between
const
difference
is
keywords
readonly
static
the
what
1 Vote
1 Réponse
30th Apr 2018, 4:09 PM
Devashish Shukla
what is the output of this. .... const int x=5; cout<<x++; cout<<++x; .....
c++
0 Vote
6 Réponses
23rd Jul 2016, 8:25 AM
Darsh Shah
Why use is use of this : if there is no const variable
c++
classes
2 Votes
5 Réponses
1st Apr 2017, 10:16 AM
Purnima duggal
What is the difference between #define a 10 and const int a=10; ?
c
constants
1 Vote
2 Réponses
23rd Jul 2019, 11:16 AM
MADHU KUMAR KOULAS
What the purpose of const keyword for function in C++?
c++
const
0 Vote
1 Réponse
29th Jun 2017, 12:10 PM
Johnny Shahin
what is the use of const keyword in c++ ?
c++
0 Vote
1 Réponse
13th Sep 2016, 6:49 PM
Sandeep Singh
Why const int variable can be modified using scanf in C language?
c
0 Vote
2 Réponses
25th Mar 2020, 5:16 PM
C King 👑
const aar1= [1,2,3]const arr2= [5,6,7] let arr3=___arr1__..arr2]; fill in blanks to make arr3 like [1,2,3,4,5,6,7,8] (any1?)
variables
-3 Votes
6 Réponses
19th Mar 2019, 2:08 AM
Christopher Inji
const sebuahObject = { fungsi: () => { console.log('Hai Dunia Kucing!!') } }
javascript
0 Vote
3 Réponses
15th Jun 2020, 8:36 PM
Febriantika Triarini
What is the use of Private const val ARG_PARAM1= "param1" in kotlin?
android
app
kotlin
0 Vote
2 Réponses
10th Jun 2020, 8:07 PM
Huba Khan
const item={ "hye":true , "hi":false , "hii":var undefined "hiii":undefined } console.log(item ["hye"])
predefined-variables
0 Vote
2 Réponses
13th Sep 2022, 12:14 PM
Badnam 4758
Can a variable be declared as const in C++ during runtime?
c++
const
runtime
0 Vote
1 Réponse
25th Jul 2019, 5:12 PM
Ebad Qureshi
Si las variables const son inmutables el ejemplo de la lección 'const' no genera una excepción, como dice, sino un error.
const
es6
0 Vote
9 Réponses
1st Dec 2018, 12:41 PM
José M. Valle
what is const int ctValue=2; int iValue; float fValue; char cValue mean?
c++
-1 Vote
2 Réponses
12th Sep 2016, 1:53 PM
Saksham
Someone can tell me what is the use of const unsigned char *?
c
code
sololearn
0 Vote
2 Réponses
28th Sep 2018, 1:43 AM
KENSTEIN
If I write const int x=5; after many lines I again write const int x =10; What will the final value x at end of execution or it will be an error
c#
constants
1 Vote
5 Réponses
19th Aug 2016, 6:31 AM
Akshay Sajeev
const string = `something ${1 + 2 + 3}` const string2 = `something ${foo() ? 'x' : 'y'} ` // what is the output and how ?
javascript
programming
0 Vote
1 Réponse
9th Mar 2020, 10:45 AM
Anas
Pointer to constant
c++
const
pointer
6 Votes
7 Réponses
1st Jun 2018, 7:00 AM
Ivan Vladimirov
When writing a constant, what is the essence of the double i.e const double pi =3.14
data-types
0 Vote
5 Réponses
15th Mar 2020, 9:18 AM
Chiamaka
Why can't the variable total_volume in the volume 1.cpp program be declared as const ?
c++
-1 Vote
6 Réponses
17th Jan 2017, 6:26 PM
Zeyad Sharo
Const arr1 = [a, b, c, d,] const arr2 = [e, f, g, h,] arr3 =______ can u help me merge arr1 and 2 to make arr3 from a-h
constants
0 Vote
1 Réponse
26th Nov 2019, 10:22 AM
Samuel Ikenta
JavaScript - How is it you can push in a const array?
arrays
javascript
0 Vote
1 Réponse
14th Oct 2019, 11:43 AM
Paolo De Nictolis
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
2
3
4
5
Suivant >
Aujourd'hui en vedette
I was rated 5 out of 10 for this code
2 Votes
What's wrong if I use string as "c::\\"
1 Votes
Pancakes, error or am I stupid?
1 Votes
Where is the course to learn R ??
1 Votes
Why won't canvas work?
2 Votes
++ Confusion in java
0 Votes
Is there any way to retrieve the courses progress and chats
0 Votes
Compile time polymorphysm or runtime
0 Votes
Doubt
0 Votes
Java microproject
0 Votes