Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For this question, assume an int is stored in 8 bits and a long is stored in 16 bits. Also assume the varibles i and
For this question, assume an int is stored in 8 bits and a long is stored in 16 bits. Also assume the varibles i and l are given values as in the code below:
int i = 0x9A; long l = (long) i;
What would be the bit pattern stored in the variable l?
Question options:
119A | |
FF9A | |
009A | |
9A9A |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started