hi all....
In c++ how to convert integer value to hexadecimal (in ANSI-C ).
wijitha...
wijitha
0
Newbie Poster
Recommended Answers
Jump to Postwhat does that even mean?
integer is a type
hexadecimal is a representation of integers
it doesn't make any sense to "convert"
Jump to PostOne way to do it is by using standard C function printf()
int n = 123; printf("%X", n);
All 6 Replies
bugmenot
25
Posting Whiz in Training
wijitha
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
bugmenot
25
Posting Whiz in Training
rajatC
-1
Junior Poster
Jishnu
160
Posting Pro
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.