what is the main role in pointers in c?
i have problem implement pointers with arrays in C. please explain for me.
pointers in Cwhat is the main role in pointers in c?
Page 1 of 1
5 Replies - 3276 Views - Last Post: 18 January 2016 - 12:40 AM
Replies To: pointers in C
#2
Re: pointers in C
Posted 24 February 2009 - 07:29 AM
veerendranadh.killampalli, on 24 Feb, 2009 - 01:04 PM, said:
what is the main role in pointers in c?
i have problem implement pointers with arrays in C. please explain for me.
i have problem implement pointers with arrays in C. please explain for me.
have look at the tutorial
http://www.cplusplus...l/pointers.html
there is a section on arrays and pointers
#3
Re: pointers in C
Posted 24 February 2009 - 08:32 AM
Here's a few good quality links on the subject of pointers
http://www.daweidesi...in/pointers.php
http://www.eternally...t_pointers.aspx
http://www.augustcou...torial/ptr.html
http://cslibrary.stanford.edu/104/
http://www.daweidesi...in/pointers.php
http://www.eternally...t_pointers.aspx
http://www.augustcou...torial/ptr.html
http://cslibrary.stanford.edu/104/
This post has been edited by Bench: 24 February 2009 - 08:38 AM
#4
Re: pointers in C
Posted 17 January 2016 - 10:02 PM
veerendranadh.killampalli, on 24 February 2009 - 07:04 AM, said:
what is the main role in pointers in c?
i have problem implement pointers with arrays in C. please explain for me.
i have problem implement pointers with arrays in C. please explain for me.
Pointers in C are used for all kinds of things:
1. For linked data structures (like linked lists, binary search trees, AVL trees, you name it).
2. To save memory (pointers take up much less space than the possibly large objects they point at).
3. For generic programming (like what templates do for C++).
Read up on the tutorials other gave you and see what you can do.
#5
Re: pointers in C
Posted 17 January 2016 - 10:09 PM
Quick tip: it's sometimes useful to check the date of a question. If veerendranadh.killampalli is still stumped on pointers, it's probably not going to work out.
#6
Re: pointers in C
Posted 18 January 2016 - 12:40 AM
You are right, I did not even notice the date.
But it sure seems in all that time, he should have gotten SOME kind of reply!
But it sure seems in all that time, he should have gotten SOME kind of reply!
Page 1 of 1

New Topic/Question
Reply




MultiQuote



|