logo

Crowdly

Si tenemos el siguiente programa en C con esta estructura #include <stdio.h> st...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Si tenemos el siguiente programa en C con esta estructura

#include <stdio.h>

struct data{

char c;

int l;

short int s;

long int d;

};

int main(){

struct data dat={0xa0,0xc3c2c1c0,0xb1b0,0xd7d6d5d4d3d2d1d0};

printf("Size of struct dat: %d\n", sizeof(dat));

}

y ponemos el comando x/24xb &dat o -exec x/24xb &dat (VSCODE) y nos sale el siguiente resultado,

¿Qué endianness tendría la arquitectura sobre la que estamos ejecutando el programa?

0%
0%
0%
100%
More questions like this

Want instant access to all verified answers on campusvirtual.uclm.es?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!