Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
declaring variable inside/outside the loop which is better?
loops
variables
1 Vote
1 Answer
22nd Jan 2017, 1:59 PM
Choi Kwangjong
What's different between declaring int **p and int **&p?
c++
0 Votes
3 Answers
10th Oct 2016, 2:02 PM
Quân Đỗ
suggest me the concept of declaring max length of text box
code
properties
text
variables
0 Votes
7 Answers
14th Jul 2018, 4:51 PM
Vikram Thakur
Why the test case 4 is declaring this a wrong code?
c++
0 Votes
3 Answers
23rd Nov 2020, 2:29 PM
NiTESH
Significance of declaring an array named 'name', as "Hello" in this code?
array
c
2 Votes
6 Answers
5th Jan 2019, 6:01 AM
Vijaya Mishra
How to add button declaring an onclick for my java calculator?
button
calculator
help
java
onclick
2 Votes
4 Answers
23rd Sep 2017, 12:04 PM
Jerrakiztah
What is the differences between declaring int* p; and int *p;
pointers
0 Votes
3 Answers
13th Jan 2020, 10:37 AM
Andrea Pasquini
What is role of void keyword in declaring functions ???
c++
functions
void
1 Vote
2 Answers
13th Jan 2017, 8:22 PM
Siddharth Naithani
Why there's a need of declaring default constructor in java classes?
java
1 Vote
3 Answers
18th Mar 2017, 9:09 AM
laiba malick
Is there a difference between these methods of declaring an array ?
arrays
javascript
1 Vote
2 Answers
28th Jan 2020, 8:16 PM
Marina Khamis
What is the difference between declaring and defining a variable in c?
c
-2 Votes
4 Answers
27th Aug 2021, 9:38 PM
Onigiri raijin
how to create an array directly inside namespace(without declaring a class)
namespace
0 Votes
1 Answer
25th Jan 2019, 8:10 AM
omar omar
What is the difference in using "class" or "template type" while declaring a template parameter?
c++
templates
2 Votes
2 Answers
16th Oct 2016, 5:53 PM
Neha Bit
Is declaring variables using var in JavaScript preferred over other languages?
data-types
javascript
variables
1 Vote
1 Answer
20th Apr 2018, 2:46 PM
Miapolis
What happens if static is not written while declaring a method?
java
1 Vote
1 Answer
3rd Jul 2018, 1:39 PM
Baskaran Panneerselvam
Declaring a regular array size with a variable? I thought not possible.
array_size
arrays
cpp
0 Votes
2 Answers
23rd Jan 2020, 9:49 PM
rodwynnejones
what is the significance of await keyword in declaring connection during typeorm in angular?
angular
angularkeyword
await
keyword
test
typeorm
1 Vote
5 Answers
10th Jun 2020, 10:07 AM
Tejashree
Is there any difference between declaring <!doctype html> or not in HTML code.
<!doctype
html>
1 Vote
4 Answers
30th Apr 2017, 4:43 PM
GAURAV
Declaring data type is not necessary in ........ ? A. Java B.PHP c.C++
data-types
1 Vote
2 Answers
14th Aug 2018, 7:46 PM
Bekure
How do you differentiate between declaring an empty dictionary and an empty set?
dictionaries
lists
python
2 Votes
3 Answers
23rd Jun 2016, 9:02 PM
Jay
What is the purpose of declaring a function? Explain with example.
c++
-1 Vote
2 Answers
14th Jan 2017, 4:16 PM
Vaibhav kumar
Can we pass the value by reference without declaring any pointer?
c
c++
function-arguments
keyword
pointers
progress
reference-types
value-types
0 Votes
1 Answer
19th Jan 2018, 3:27 AM
ImranKhan CD
To create a linked list, declaring the number of notes in the code, is necessary?
c
-2 Votes
6 Answers
1st Dec 2021, 1:33 PM
Adam M. El-dodo
How can I assign to each constructor separately when declaring a vector of class objects?
c++
classes
stl
vectors
7 Votes
1 Answer
25th Jan 2019, 8:41 AM
Moses Odhiambo
In C/C++, what is the advantage of declaring a function before defining it's body?
c
c++
cpp
0 Votes
3 Answers
7th Jul 2018, 8:25 PM
Silas Junior
In declaring your own method in java can you add ' public' in the declaration
java
methods
protected
2 Votes
5 Answers
17th Jan 2018, 4:59 PM
Judith
Whenever i m declaring class A as public.. it is showing error..why?
java
0 Votes
2 Answers
4th Apr 2017, 10:29 AM
Somnath Ghosh
What does asterisk (*) represent while declaring variable in Python and how to print them?
python
python3
0 Votes
3 Answers
15th Aug 2019, 11:01 AM
Bhuwan Khadka
why do in output line 10 it is showing × mark declaring unexpected start tag
ace
editor
syntax
2 Votes
3 Answers
2nd Jul 2022, 4:20 AM
Saddam Hussain
When declaring myArray[5] it's creates elements from [0] to [4] why not from [0] to [5]?
arrays
c#
0 Votes
8 Answers
5th May 2016, 3:33 PM
Piotr Stryjecki
is declaring the name of a variable while using the "while loop" important?
c++
0 Votes
2 Answers
20th Jun 2016, 6:27 AM
souvik singha
How do I add values in an array using a loop without declaring the array size?
c++
1 Vote
5 Answers
6th Apr 2017, 12:34 AM
itumeleng
Can someone please help me in declaring an array in Java true or False?
java
0 Votes
2 Answers
27th Dec 2019, 4:05 AM
Ayaan Siddiqui
Why do they always use the name of the class when declaring an object inside the class?
c++
classes
0 Votes
7 Answers
16th Aug 2016, 3:16 PM
Adam Mullenaux
What's the difference between passing a struct pointer and declaring it inside the function itself?
data-structures
0 Votes
1 Answer
10th Oct 2020, 5:39 PM
Raj Priyadarshi
Why is the output '0'. But declaring array in main() gives a garbage value(as it should)...??
c++
2 Votes
3 Answers
11th Nov 2017, 5:04 PM
Saransh Bhatia
Why do we use structures in c if we can run a program just by declaring datatypes n relevent variables
structures?
0 Votes
8 Answers
20th Jan 2020, 1:17 PM
Farjana Shaik
Is there a max number of int inputs when declaring an input to an integer.
kotlin
0 Votes
1 Answer
30th Jun 2021, 1:29 AM
mofe_sanya
If a=3 and b=2 how can you swap the two values without declaring a third variable in java or c#
c#
java
numbers
swap
6 Votes
8 Answers
5th Mar 2017, 9:41 PM
Karuma Tendai
how dose the variable x,y get defined as a,b without declaring it such as a=x b= y
functions
python
1 Vote
5 Answers
21st Jul 2016, 12:34 PM
Wayne Gaebelein
How can we take input elements in an array from the user without declaring size of an array in C Language ??
arrays
beginners
c
1 Vote
9 Answers
5th Oct 2020, 1:30 PM
Pratiksha Bolake
What's the difference between using let and var for declaring variables. Could someone please help me. Thanks in advance
javascript
js
web
1 Vote
4 Answers
8th Aug 2021, 10:12 PM
Philippe Ezekiel
In most of the programming language while declaring a variable special characters other than underscore (_) is not allowed .Why
,html
,javascript
,python
,ruby
programming,sololearn
9 Votes
4 Answers
7th Mar 2017, 3:49 PM
Athul Joy
Could I create a table without declaring the size of data type of column?
sql
tables
0 Votes
1 Answer
19th Aug 2016, 6:07 AM
davidho
What is the default audio type of the first way of declaring a audio?
audio
html
0 Votes
1 Answer
28th Jul 2016, 3:22 PM
Akash Roy
Why is it good practice to assign NULL to a pointer when declaring it?
c++
pointers
0 Votes
1 Answer
31st Jul 2016, 7:13 PM
Awni
Are there any practical benefits to declaring multiple values in the statement 1 of your for loop? I can't think of anyone.
for
javascript
loops
10 Votes
5 Answers
28th Dec 2020, 11:42 PM
Alex
If we use returnable data type for declaring main .... where does it returns the value?
c++
functions
0 Votes
2 Answers
27th Apr 2018, 5:21 AM
Jason
Why is my code working without declaring the square function in C and I'm directly using it?
c
code
declaration
definition
function
0 Votes
3 Answers
30th Jul 2018, 1:06 PM
Parth Salat
What is the difference between declaring a variable x with x=5 and assigning int *ptr= new int; *ptr=5?
c++
pointers
1 Vote
4 Answers
26th Aug 2017, 1:47 PM
Ironrobot
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
3
Next >
Hot today
Javascript
3 Votes
I Had Solve My Own Way But I See Others Method which I had added as Comented code I don't Understand Working Can You explain me?
2 Votes
What i do?in html intermediate level i dont like.
2 Votes
How to get mentor in solo learn.any mentor who response my activity🥹
1 Votes
web application with java, spring boot
1 Votes
Why text takes time to load
1 Votes
What is late happening in late binding
1 Votes
Digital currency
1 Votes
I had an issue, I have PRO version, but not unlimited lives.
1 Votes
Did You resolve Calculating The Discount?
0 Votes