I would say pointers are always slower than normal variables since
there is a level of indirection involved. particularly, when you use
register storage class, variables are a LOT faster than  normal
variables(read other than register storage).
Also, one would use pointers in case of dynamic memory
using(typically) and never for speed.
Fastest access variables can be process dependent implementation(
using asm code in C, really dirty work, but fastest that you can get
out of the chip).



On Sat, 11 Dec 2004 17:15:57 -0800 (PST), sheikh ishtiyaq
<[EMAIL PROTECTED]> wrote:
> 
> I think its better to read some basic book in C. which
> can give you a good explanation of pointers. You can
> refer Gotfred(shaum series).
> 
> 
> --- Carlos Pimentel <[EMAIL PROTECTED]> wrote:
> 
> > It's quite simple when you understand what a pointer
> > is, and it's a kind 
> > of variable that stores a memory address. If you
> > want to create a 
> > pointer you have to write something like this:
> > 
> > type *name
> > 
> > This is the way of defining a pointer that stores a
> > memory address of a 
> > data, and so on C knows that this data is of the
> > type "type". I hope you 
> > can understand me because my English is rather
> > bad...
> > 
> > 
> > 
> > 
> > cesarc597431 wrote:
> > 
> > >
> > > Hi, I'm new in this pointers business, so I would
> > like to know how
> > > the pointers works, I mean, how are they stored in
> > memory? pointers
> > > got some kind of address, how are they allocated
> > in memory? I hope
> > > someone can answer my question because I've read
> > everything in the
> > > world but pointer books and docs are not very
> > illustrative at all.
> > > Thanks!
> > 
> > 
> > 
> 
> 
> 
>             
> __________________________________ 
> Do you Yahoo!? 
> Take Yahoo! Mail with you! Get it on your mobile phone. 
> http://mobile.yahoo.com/maildemo 
> 
> 
> 
> 
> 
> >-----------------------------------------~-~>
> CHECK THE ARCHIVE BEFORE POSTING!!!! Archive is available at 
> http://www.eScribe.com/software/C-Paradise/
> 
> >------------------------------------------_->
> 
> 
> 
> 
> 
> Yahoo! Groups Sponsor
> ADVERTISEMENT
> 
> ________________________________
> Yahoo! Groups Links
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/C-Paradise/
>   
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>   
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


-- 
Thanks & Regards,
Shyam Sundar Navaneethan


------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/EbFolB/TM
--------------------------------------------------------------------~-> 

>-----------------------------------------~-~>
CHECK THE ARCHIVE BEFORE POSTING!!!! Archive is available at 
http://www.eScribe.com/software/C-Paradise/

>------------------------------------------_->


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/C-Paradise/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to