cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
How many bytes will the pointer intPtr o
How many bytes will the pointer intPtr of type int move in the following statement? intPtr += 3 ;
May 28, 2013 at 5:59pm UTC
naz
(48)
How many bytes will the pointer intPtr of type int move in the following statement? intPtr += 3 ;
(a) 3 bytes
(b) 6 bytes
(c) 12 bytes
(d) 24 bytes
May 28, 2013 at 6:12pm UTC
Fransje
(435)
http://www.learncpp.com/cpp-tutorial/68-pointers-arrays-and-pointer-arithmetic/
May 28, 2013 at 7:17pm UTC
MiiNiPaa
(8886)
3*sizeof(int) bytes. So (b), (c) or (d) depending on machine.
Topic archived. No new replies allowed.