in lime light today: Java and C++
Google

Tuesday, May 20, 2008

Java and C++

Digg!

Get your doubts cleared

difference between aliases and pointers in c++


Hi,

I'm struggling to understand the differences between aliases and pointers.
Can anyone help this newbie? Please explain this concept in plain English and include examples if possible. Appreciate your help

Thanks :)


well I'm no expert but aliases offer a way for the programmer to refer to a particular address space using different names (and hence aliases). To take an intelligent guess the compiler will refer to one memory space using various names.

Pointers are slightly different in that a variable refers to a memory space, that contains a different memory space as its value okay?


Mon May 19 22:03:52 PDT 2008

Get Clipmarks - The easiest way to email text, images and videos you find on the web.
Sent with Clipmarks

No comments:

 
in lime light today © Pilo Gui