Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In answering below questions, assume the sizes of tvpes are as mentioned here: char l byte, short 2 bytes, int 4 bytes, unsigned int 4
In answering below questions, assume the sizes of tvpes are as mentioned here: char l byte, short bytes, int bytes,
unsigned int bytes, loat bytes, long bytes, double & bytes, and bytes for a pointer. You must mention the function
prototype when defning any function.
Write the output fromn the below code:
int main void f
double z i
void zaddr void &z;
return :
printf a: lddld avoid &z zaddrvoid &z zaddr;
printf b: dldld
void&z zaddr
points
points
Assuming the address of the first byte of z is Oxc fll in the guestion marks and list the output:
int main vo id
Write the output from the below code:
I you nnd uny
void z zaddr
double z ;
printf a:
z sizeof z &z sizeof z ;
printf c:
z zz ;
int main void
double d ;
double p &d &d printf a: fff
printf b: fff
return :
&d:
R Inkulu
pp p o;
p pJp ;
Roll Number:
void zzaddrvoid &zzaddr;
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