i cant understand what does ++*++p means???
can u help me
member9
8
Newbie Poster
mvmalderen
commented:
Yes, start a new thread about it!
-2
siddhant3s
commented:
Atleast He followed the advice.
+14
Nick Evan
commented:
No he didn't. Mod split it off another thread :)
-4
Recommended Answers
Jump to Posti cant understand what does ++*++p means???
can u help meConsider the following code:
#include <iostream> int main() { int a[5] = {0, 5, 2, 3, 4}; int *p = a; ++*++p; std::cout << a[1] << std::endl; return 0; } /* Output: 6 */
Explanation:
The …
Jump to PostChances of getting an answer is even greater if you give your request a meaningful title.
All 5 Replies
mvmalderen
2,072
Postaholic
shadwickman
commented:
Good explanation of ++*++p - I learned something new too :P
+3
member9
8
Newbie Poster
jencas
mvmalderen
2,072
Postaholic
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.