Question: using namespace std; int main ( ) { struct foo _ t { int x [ 1 0 0 ] ; int var 1 ;
using namespace std;
int main
struct foot
int x;
int var;
int y;
foo;
int var;
long i;
int pq;
short int s;
long int l;
struct foot bar;
for i; i; i foo.xii;
for i; i; i foo.yii;
foo.var;
cout sizeofs
;
cout sizeofp
;
cout sizeofl
;
q int &foo; cout q
;
p&foox; cout p
;
POINT
q int &var; cout q
;
q p; cout q
;
i long p;
q int i; cout q
;
s short i; cout s
;
l long i; cout l
;
q p; cout q
;
i long p;
q int i; cout q
; EXPLAIN
q p ; cout q
;
q int long p; cout q
;
p int bar;
p ; cout barvar
;
Based on your output, make a diagram indicating the addresses in memory where each of the programs variables are store#include
d and their values at POINT
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
