An unsigned long(9999999000) returns 1410064408.
Any explanation to it?
GyanPP
0
Newbie Poster
Recommended Answers
Jump to PostWhat do you mean "returns" ?
Jump to Post>To specify a 64-bit integral (long long) type, use the LL or ll suffix.
However, note thatlong long
is not standard C++ yet (C++0x is nearing completion though), so you might encounter either complete failure or a difference in the details with various compilers.
All 6 Replies
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
GyanPP
0
Newbie Poster
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
kvprajapati
1,826
Posting Genius
Team Colleague
Narue
5,707
Bad Cop
Team Colleague
kvprajapati
commented:
Agree!
+6
GyanPP
0
Newbie 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.