Search:
Forum
Beginners
& vs *
& vs *
Jan 21, 2013 at 2:51pm UTC
Script Coder
(878)
Is there any difference between:
int
*i;
and
int
&i;
Jan 21, 2013 at 3:08pm UTC
Script Coder
(878)
stupid question, nevermind.
Jan 21, 2013 at 3:08pm UTC
Darkmaster
(540)
http://www.cplusplus.com/doc/tutorial/pointers/
Jan 21, 2013 at 3:11pm UTC
vlad from moscow
(5226)
Yes, there is. In the first case there is used
*
while in the second case there is used
&
. For further details please see any book on C++.
Topic archived. No new replies allowed.
C++
Information
Documentation
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs