Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
Why *ptr points to NULL?
c
pointers
1 голос
3 ответов
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 голосов
2 ответов
29th Jul 2020, 10:39 AM
Aurnab Das
Can someone explain exactly wat *ptr is clearly please
pointers
1 голос
2 ответов
25th Jun 2021, 11:38 AM
Jeremiahgustusjunior
what is the difference between *ptr and int * ptr
c++
pointers
1 голос
4 ответов
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 голосов
4 ответов
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 голосов
1 ответ
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 голос
4 ответов
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 голосов
2 ответов
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 голос
5 ответов
30th Dec 2018, 1:43 PM
Konybud
why we use the pointeur ?? and what is the different between *(ptr) and *ptr
c
c++
1 голос
1 ответ
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 голосов
1 ответ
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 голосов
9 ответов
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 голосов
3 ответов
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 голос
10 ответов
29th Sep 2021, 6:39 AM
Abubakar Sk
Why does Java not support multiple inheritance, operator overloading & pointers ?
*ptr
c++
jvm
operator-overloading
2 голосов
2 ответов
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 голос
1 ответ
2nd Feb 2017, 4:45 AM
Diorostegui
what are advantages to use pointer?
*ptr
c++
classes
pointers
1 голос
1 ответ
31st Oct 2016, 3:16 PM
Timur CELIK
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
Актуальное сегодня
What's wrong with this code ? ( Beginner)
3 Votes
Pig Latin
0 Votes
Please rate my code from 1 to 10
2 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Currently learning C++, I’m getting into socket programming with C++
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
Uuu
2 Votes
I’m new someone can help me
0 Votes
Recursion doubt
2 Votes