Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
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
[RESULTS] 🌸🌞 Spring Coding Challenge! 🌞🌸
23 Votes
New !!
1 Votes
DevTools vs JSON Stringify: Task Chain & Login Flow in Sololearn Playground Environment
1 Votes
The task "Duct Tape"
2 Votes
Web Development Job
2 Votes
Code to convert a value into a number
1 Votes
Please help here, why the loop is breaking soon is not known to me.
0 Votes
Extra challenges powered by ai
0 Votes
Hello
0 Votes
how can i make a website using python css and a mix of java to make it interactive with the users
0 Votes