Not disclosed Interview Question for Tech Leads
- 0of 0 votes
In an interview this question has been asked :- S@iR@m December 26, 2018 in India
How to fit four characters into an integer, implementation should be in C programming language.
For example, four characters, viz., 'a', 'b', 'c', and 'd' need to be fit into an integer.
I tried to answer this question using ASCII value of the characters.
Please suggest the correct solution.
| Report Duplicate | Flag | PURGE
Not disclosed Tech Lead C
Open Chat in New Window