1) How to convert hexadecimal octal values to their corresponding decimal equivalents.?
Say for example we are given
float f3 = 0x12345;
It is a silly question i guess. But pease do reply
How will you calculate what character is represented actually , if given a character literal like ‘\ufeeg’
Example : Which three are valid declarations of a char? (Choose three.)
A. char c1 = 064770;
B. char c2 = ‘face’;
C. char c3 = 0xbeef;
D. char c4 = \u0022;
E. char c5 = ‘\iface’;
F. char c6 = ‘\uface’;
Thank you for the reply.
Often we find questions where they give octal or hexadecimal values and ask what is the resut of shift operations . In such cases to evaluate the expression, how do you convert the hexadecimal and octal values to decimal equivalents manually, do the shift operations and get the answer . Could you please give an example.
Sorry for posting two questions in the previous thread.