Kurse
Kurse
Code Compiler
Code Compiler
Diskutieren
Teams
Anmelden
Registrieren
Menu
F&A Diskussionen
Suchen
Suchen
Eine Frage stellen
Eine Frage stellen
Why *ptr points to NULL?
c
pointers
1 Stimme
3 Antworten
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 Stimmen
2 Antworten
29th Jul 2020, 10:39 AM
Aurnab Das
Can someone explain exactly wat *ptr is clearly please
pointers
1 Stimme
2 Antworten
25th Jun 2021, 11:38 AM
Jeremiahgustusjunior
what is the difference between *ptr and int * ptr
c++
pointers
1 Stimme
4 Antworten
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 Stimmen
4 Antworten
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 Stimmen
1 Antwort
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 Stimme
4 Antworten
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 Stimmen
2 Antworten
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 Stimme
5 Antworten
30th Dec 2018, 1:43 PM
Konybud
why we use the pointeur ?? and what is the different between *(ptr) and *ptr
c
c++
1 Stimme
1 Antwort
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 Stimmen
1 Antwort
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 Stimmen
9 Antworten
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 Stimmen
3 Antworten
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 Stimme
10 Antworten
29th Sep 2021, 6:39 AM
Abubakar Sk
Why does Java not support multiple inheritance, operator overloading & pointers ?
*ptr
c++
jvm
operator-overloading
2 Stimmen
2 Antworten
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 Stimme
1 Antwort
2nd Feb 2017, 4:45 AM
Diorostegui
what are advantages to use pointer?
*ptr
c++
classes
pointers
1 Stimme
1 Antwort
31st Oct 2016, 3:16 PM
Timur CELIK
Eine Frage stellen
Eine Frage stellen
Eine Frage stellen
Eine Frage stellen
Heute heiß
What's wrong with this code ? ( Beginner)
4 Votes
Pig Latin
0 Votes
Someone can help me
0 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
I’m new someone can help me
0 Votes
HTML community, HELP!!
0 Votes
What's doctype htMl
2 Votes
I am a super beginner
0 Votes