Click here to Skip to main content
15,905,420 members

Comments by Vishal_kj (Top 3 by date)

Vishal_kj 22-Jan-14 9:30am View    
I am totally agree with you Sir!

I shall try to implement and master this approach.
Thanks a ton!
Vishal_kj 22-Jan-14 8:57am View    
Don't you think it is a very complex algorithm which could be very hard to implement because we have to perform shift operation multiple times. Another problem with this approach is, for a 64-bit integer, taking 4-bits at a time might be much complex than it is for a 16-bit integer.

As i'm just a beginner, it is too difficult for me to explain such complex algorithm to the interviewer. I had explained a similar approach to the Interviewers but they were not satisfied with my answer.
Vishal_kj 22-Jan-14 6:00am View    
There must be a compiler for that 32-bit processor for using this statement.

I am asking the approach or any logic for printing or converting that 64-bit integer value into ASCII characters so that it could print the decimal value as a string.
( Assume you don't have any compiler for that 32-bit processor)