Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
Why *ptr points to NULL?
c
pointers
1 Vote
3 Réponses
1st Aug 2018, 11:48 PM
RainStorm
What is mean by that void *ptr in C?
https://www.sololearn.com/profile/4157142/?ref=app
2 Votes
2 Réponses
29th Jul 2020, 10:39 AM
Aurnab Das
Can someone explain exactly wat *ptr is clearly please
pointers
1 Vote
2 Réponses
25th Jun 2021, 11:38 AM
Jeremiahgustusjunior
what is the difference between *ptr and int * ptr
c++
pointers
1 Vote
4 Réponses
3rd Aug 2017, 8:56 AM
Eshaan Belani
Isn't the line 1 and line 4 means the same that is in *ptr and hello both contain manash so why hello runs but *ptr doesn't?
c
0 Vote
4 Réponses
3rd Nov 2021, 11:03 AM
Manash Anand
#include<stdio.h> int main() { char *ptr = "Hello"; printf("%c\n", *&*ptr); return 0; }
c
pointers
0 Vote
1 Réponse
18th Jan 2021, 6:27 PM
yogesh
Why mostly in c program using pointer pointer is daclared in this way ? *ptr = NULL
c
pointers
1 Vote
4 Réponses
6th Mar 2020, 8:17 AM
Yash Chaudhari
Can anyone help me... what is the difference between int *ptr and int **ptr.?
c++
pointers
0 Vote
2 Réponses
25th Mar 2016, 3:15 PM
REIFFORD NONGBRI
The output is 55, but I don't understand why the memory address of the *ptr is 23fe3c.
address_arithmetic
c
memory_address
pointer
1 Vote
5 Réponses
30th Dec 2018, 1:43 PM
Konybud
why we use the pointeur ?? and what is the different between *(ptr) and *ptr
c
c++
1 Vote
1 Réponse
17th Apr 2020, 12:07 PM
Ahmed Ben Larbi
What's the difference between this {MyClass obj; MyClass *ptr = &obj;} and this {Myclass *ptr=new Myclass}?....
c++
2 Votes
1 Réponse
2nd Sep 2022, 10:30 AM
Emediong Ekoh
#include <iostream> using namespace std; int main() { int x=10,y=20; int *ptr = &x; int &ref= y; *ptr++; ref++; cout<<x<<y
c++
code
output
0 Vote
9 Réponses
4th Jul 2017, 8:26 AM
Kushagra Agarwal
But *ptr stores the actual value of the varible x right? Then why is it written *ptr=&x when it does not store its address.
pointers
2 Votes
3 Réponses
23rd Oct 2019, 4:34 PM
shreya
what is the output of following program type def int integer # define int chat void main () { int i= 65; int *ptr = &i; int *j =
def
defi
following
int
integer#
of
output
programtype
the
whatis
-1 Vote
10 Réponses
29th Sep 2021, 6:39 AM
Abubakar Sk
Why does Java not support multiple inheritance, operator overloading & pointers ?
*ptr
c++
jvm
operator-overloading
2 Votes
2 Réponses
28th Jun 2017, 12:41 PM
rootX
Por qué o para que utilizo yo la posición de memoria de otra variable en los punteros? Int *ptr = &Var
c++
pointers
1 Vote
1 Réponse
2nd Feb 2017, 4:45 AM
Diorostegui
what are advantages to use pointer?
*ptr
c++
classes
pointers
1 Vote
1 Réponse
31st Oct 2016, 3:16 PM
Timur CELIK
Poser une question
Poser une question
Poser une question
Poser une question
Aujourd'hui en vedette
Someone can help me
1 Votes
What's wrong with this?
2 Votes
HTML community, HELP!!
1 Votes
I am a super beginner
0 Votes
X velocity
0 Votes
Img & web server or personal info
0 Votes
I want to make a triangle area calculator ,anybody can teach me
1 Votes
How this program executes?
0 Votes
Pls give me an idea
1 Votes
How to achieve "Sololearner" achievement?
0 Votes