Need help with 2 questions Thank you Define a symbolic const

Need help with 2 questions.
Thank you
Define a symbolic constant MAX to represent value 100 in C program. Use typedef to create types named Int8, Inti6, and Int32 in C program. Define the types so that they represent 8-bit, 16-bit, and 32-bit integers on your machine. Assume your machine is a 32-bit machine.

Solution

1. #define MAX 100

2. typedef int8_t Int8;

typedef int16_t Int16;

typedef int32_t Int32;

Need help with 2 questions. Thank you Define a symbolic constant MAX to represent value 100 in C program. Use typedef to create types named Int8, Inti6, and Int

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site