Quiz 1 Fundamentals 1.o (FREE)

Ques no. 5 of Quiz 1. Kindly explain in detail how the data modifiers have been used to solve the question. Need detailed ans.

Data Modifires have not been explained properly in the video.

Please, specify the question.

QUIZ 1 QUESTION 5 I CAN NOT WRITE THE WHOLE QUESTON HERE.

The output of this question depends upon the datamodifiers:

  1. Let’s say you assign -2 to an unsigned integer, then for 32 bits int it will results in 2^32 - 2

  2. It would be 2^16 - 2 for short unsigned integer

  3. Similarly, for long long unsigned integer it would be 2^64 - 2

  4. And for signed integer it will be -2.

Hope, this would help

I am marking this doubt, as resolved as you have not replied to this thread for 5 days.
In case, you still have some doubts regarding the same problem, you can reopen this doubt.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.