What is the range of charcter bucket acquire - 1 byte
"What is the order of precedence for int, float, char and bool "
float > int > char > bool according to me.
but they both are giving wrong answer, please clarify.
What is the range of charcter bucket acquire - 1 byte
"What is the order of precedence for int, float, char and bool "
float > int > char > bool according to me.
but they both are giving wrong answer, please clarify.
@Himanish hey Himanish first answer for question 1
1 byte
range of char
All signed character values range from -128 to 127. All unsigned character values range from 0 to 255.
and answer of the second quiz is
option 2
here question asking about the precedence of implicit type conversion
All the data types of the variables are upgraded to the data type of the variable with the largest data type.
bool -> char -> short int -> int ->
unsigned int -> long -> unsigned ->
long long -> float -> double -> long double
answer for first, 1 byte gives wa please check and I also filled bool. < char < int < float , but still it is also giving wrong answer,