Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Why is ptr = a; shows error?
2d
c
matrix
0 Votes
5 Answers
11th Apr 2019, 4:43 PM
Unemployed Visionary.
Why we can simply write like:- ptr =a;
pointers
2 Votes
2 Answers
12th May 2019, 3:20 AM
Aशीsh
friend func param obj ptr vs obj ref
c++
oop
pointers
reference-types
0 Votes
3 Answers
13th Aug 2019, 11:44 AM
BinaryEden
Is int* ptr a valid pointer declaration in C++
c++
0 Votes
6 Answers
25th May 2021, 4:10 PM
Lennart Krauch
C - Why does ptr points to first address "after" arr?
arrays
c
pointers
2 Votes
5 Answers
6th Jan 2020, 12:03 PM
Paolo De Nictolis
what is the difference between *ptr and int * ptr
c++
pointers
1 Vote
4 Answers
3rd Aug 2017, 8:56 AM
Eshaan Belani
obj ptr no needs point to previous created obj?
c++
oop
1 Vote
2 Answers
7th Aug 2019, 12:56 AM
BinaryEden
Is memory allocated for ptr variable in the given case?
me
stru
0 Votes
1 Answer
14th Sep 2020, 4:32 PM
rajshekhar y dodamani
What is the the different: 1. Ptr is an array of 12 pointers to integer. 2. Ptr is an array of 12 integer pointers?
pointers
1 Vote
1 Answer
11th Sep 2022, 6:04 AM
Oliver Pasaribu
Pointers
c++
cpp
pointer
ptr
10 Votes
33 Answers
13th Aug 2018, 12:45 AM
Harry
[linked list] What does this line mean ptr = (struct node)malloc(size of(struct node))
c
c++
0 Votes
1 Answer
3rd Nov 2016, 10:45 AM
Infinity
int a = 320; char *ptr; ptr = (char*)&a; printf("%d", *ptr); // how the output is 64? Please explain.
c
error
output
pointers
0 Votes
2 Answers
8th Aug 2021, 8:38 AM
NIKHIL JOSHI
Why its shows error while try to pass the value as normal interger a and b into the function update instead of passing ptr var?
pointers
0 Votes
1 Answer
25th Apr 2019, 5:46 PM
Sudha
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
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
Is there any new bug in the projects reply sections?
1 Votes
What's doctype htMl
2 Votes
HTML community, HELP!!
0 Votes