Cursussen
Inloggen
Begin met het leren van AI
Cursussen
Inloggen
Begin met het leren van AI
Q&A Discussies
Zoeken
Zoeken
Stel een vraag
Stel een vraag
What is the difference between declaring a variable x with x=5 and assigning int *ptr= new int; *ptr=5?
c++
pointers
1 Stem
4 Antwoorden
26th Aug 2017, 1:47 PM
Ironrobot
what is the use of declaring abstarct method without using it in parent class ???
java
0 Stemmen
2 Antwoorden
13th Oct 2016, 7:42 AM
Sandeep reddy
The program is working like this, but i have problem declaring and calling the functions using pointers in 2D arrays
cplusplus
functions
homework
pointers
sudoku
0 Stemmen
5 Antwoorden
31st May 2020, 3:53 PM
Hussein.H
Hey Guys, can you please explain to me the difference between const, var, and let please when declaring variables on JavaScript
development
html5
javascript
web
website
1 Stem
4 Antwoorden
17th Jan 2021, 4:28 AM
nightcafe
Why can't you access the object's indexes without declaring them? I thought an array has indexes automatically
c#
0 Stemmen
3 Antwoorden
12th Oct 2016, 10:34 AM
Whitemill
I want to find total number vowels present in a string by declaring a vowel string first and then by comparing two string .
c
3 Stemmen
6 Antwoorden
8th Jun 2019, 2:41 PM
SOHAN SARKAR
What is the difference between declaring two classes as friend and allowing a class to inherit privately from another class?
c#
c++
classes
java
python3
4 Stemmen
2 Antwoorden
11th Nov 2016, 4:05 PM
User3827
Why we are not using void main for declaring a function? Instead we are using such as int?
c++
functions
0 Stemmen
3 Antwoorden
19th Oct 2016, 2:53 PM
Abhay Selva
When declaring a pointer to a variable, do we need to initialize to NULL all the time? Why?
c
null
pointer
1 Stem
1 Antwoord
30th Dec 2018, 8:46 AM
Konybud
on declaring : range (10) is it giving random numbers in range of 10 or in order
python
0 Stemmen
2 Antwoorden
27th Oct 2016, 4:12 PM
Arya Somanadh
Why can't we declare a variable length array in struct in C?
arrays
c
declaring
struct
0 Stemmen
1 Antwoord
5th May 2018, 7:41 AM
srihitha reddy
How do JavaScript allocate memory for variables and why don't it require (data type) type while declaring a variable...
data-types
interpreter
javascript
memory
variables
1 Stem
1 Antwoord
30th Jan 2019, 7:11 AM
sss
We can call a method without creating object of the class by declaring it as static, than what is the need of creating object?
java
1 Stem
4 Antwoorden
11th Feb 2020, 3:06 PM
Piyush Srivastava
Y would i ever want to declare a variable from heap than declaring in normal way(i dont what its called? :D)
c++
0 Stemmen
4 Antwoorden
11th Oct 2017, 10:06 AM
suryapoojary
Do I save a memory when I'm declaring an array, instead of storing a list of values, or I will just save the time? [answered]
arrays
java
7 Stemmen
3 Antwoorden
2nd Mar 2017, 7:48 PM
AdaMM
Is it ok to use const keyword before the void(or any return type) while declaring and defining the constant method of object?
c++
syntax
1 Stem
1 Antwoord
16th Feb 2024, 4:43 AM
Yogeshwaran P
Output is 21212 but how? And what does m++ here means and even after declaring i as int 2 times why it's not showing any error?
output
6 Stemmen
4 Antwoorden
1st May 2017, 3:44 PM
Vineet Mishra
In c what is meant by char *s? I know char s is declaring s variable of character but what * means?
y
0 Stemmen
3 Antwoorden
22nd Jul 2018, 11:10 AM
Saurabh Jankat
So declaring a variable as the same value results in a syntax error? but re-declaring the variable is okay?
c++
variables
0 Stemmen
1 Antwoord
1st Aug 2017, 7:03 PM
Isaiah
It is always necessary to write a line for declaring the value as 'visible' or you can skip this?
css
visibility
1 Stem
1 Antwoord
4th Aug 2016, 12:03 AM
Ăngel Morales
Is there any difference between creating new object with the default copy constructor and declaring a reference to it?
c++
copy_constructor
reference
0 Stemmen
1 Antwoord
26th Nov 2016, 3:29 PM
Marcell Juhasz
How can one securely transmit HTML's sentive data to a server besides declaring "post" value to method attribute in form tag?
html
javascript
0 Stemmen
1 Antwoord
8th Jan 2020, 2:35 PM
George Onyango
Why do we need a constructor to set up start values for attributes when we can already set them right after declaring attributes
attributes
constructors
1 Stem
3 Antwoorden
27th Apr 2017, 4:20 PM
Tina
Why is it important to put the value of zero when declaring a variable and in c++, whats the purpose of return 0?
c++,
java
return
2 Stemmen
2 Antwoorden
24th Feb 2017, 1:36 PM
Allen Villanueva
Hi, guys i wanted to ask is it really a must to add the keyword class when declaring a function template or can any word be used
c++
templates
0 Stemmen
7 Antwoorden
6th Jun 2017, 3:48 AM
Suleiman Mwacharo
Accessing an initialized variable value outside a for loop?
a
declaring
for
java
loop
outside
variable
7 Stemmen
2 Antwoorden
24th Oct 2017, 11:11 AM
D_Stark
What does the scope resolution operator '::' do in c++? Why do we have to use it while declaring the function outside the class?
c++
operator
resolution
scope
1 Stem
1 Antwoord
21st Jul 2019, 7:41 AM
Merlyn J
Can I create 2d or 3d matrices just by declaring it's elements one by 1 in loop like a[i][j] by looping I and j? (In python)
lists
2 Stemmen
2 Antwoorden
25th Dec 2017, 4:17 AM
Shreyas GanapathĂŻ
Is there any restriction for declaring a pointer variable p1 which holds the address of another pointer variable p2 and so on.
c
c#
c++
0 Stemmen
1 Antwoord
9th Nov 2016, 2:23 PM
gowtham
When it comes to a class what is the difference between declaring a public variable, and a private one plus using an auto implemented property?
auto
c#
implemented
properties
property
1 Stem
2 Antwoorden
25th Aug 2016, 1:27 AM
William Allen
I understand how declaring a variable as static affects its relationship with objects, but I'm having difficulty understanding how doing so with methods has an affect.
java
static
2 Stemmen
1 Antwoord
30th Mar 2016, 12:10 AM
xDD90x
in the LIMIT section it is said that the offset starts from 0 then why in this BETWEEN section rhe example is not like that...we are declaring from 3 to 7 and it is displaying from 3-7...as per said in the LIMIT it must have started from 4...can anyone explain this please???
sql
2 Stemmen
2 Antwoorden
8th Aug 2016, 12:47 AM
Gadagoju Prudhvi
Stel een vraag
Stel een vraag
Stel een vraag
Stel een vraag
< Vorige
1
2
3
Volgende >
Populair vandaag
I think the heart system is ridiculous, 5 hearts that refill after like 5 hours? That is really just crazy to me.
3 Votes
Guys I don't know anything about cooding who can help me pls
1 Votes
Why canât I use double â in python?
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Coding for Cybersecurity
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
2 cases not correct what's the problem
2 Votes
Youâre free to give me your advice! đ¨
1 Votes
Salut tout le monde
1 Votes