Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
Why *ptr points to NULL?
c
pointers
1 Voto
3 Respuestas
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 Votos
2 Respuestas
29th Jul 2020, 10:39 AM
Aurnab Das
Can someone explain exactly wat *ptr is clearly please
pointers
1 Voto
2 Respuestas
25th Jun 2021, 11:38 AM
Jeremiahgustusjunior
what is the difference between *ptr and int * ptr
c++
pointers
1 Voto
4 Respuestas
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 Votos
4 Respuestas
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 Votos
1 Respuesta
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 Voto
4 Respuestas
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 Votos
2 Respuestas
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 Voto
5 Respuestas
30th Dec 2018, 1:43 PM
Konybud
why we use the pointeur ?? and what is the different between *(ptr) and *ptr
c
c++
1 Voto
1 Respuesta
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 Votos
1 Respuesta
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 Votos
9 Respuestas
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 Votos
3 Respuestas
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 Voto
10 Respuestas
29th Sep 2021, 6:39 AM
Abubakar Sk
Why does Java not support multiple inheritance, operator overloading & pointers ?
*ptr
c++
jvm
operator-overloading
2 Votos
2 Respuestas
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 Voto
1 Respuesta
2nd Feb 2017, 4:45 AM
Diorostegui
what are advantages to use pointer?
*ptr
c++
classes
pointers
1 Voto
1 Respuesta
31st Oct 2016, 3:16 PM
Timur CELIK
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
En tendencia hoy
Help please?
3 Votes
How to get better with problem-solving and programming
1 Votes
Ejercicio Pytho
0 Votes
Odd even threads without condition variable
0 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
SQL practice
2 Votes
Game development
0 Votes