1. Declare the following: A data variable each for a 16-bit signed and an unsigned integer with initial values of 0xC4F2
Posted: Mon Jun 06, 2022 2:29 pm
1. Declare the following: A data variable each for a 16-bit
signed and an unsigned integer with initial values of 0xC4F2 and
0x1DA7
2. A data variable each for a 32-bit signed and an unsigned
integer with no initial values.
3. A null-terminated string variable with the value “Quantum
Computing”
4. A symbolic constant named “Perimeter of a circle” using the
equal-sign directive and assign it an arithmetic expression that
calculates the area in terms of Pi and radius, R of the circle.
signed and an unsigned integer with initial values of 0xC4F2 and
0x1DA7
2. A data variable each for a 32-bit signed and an unsigned
integer with no initial values.
3. A null-terminated string variable with the value “Quantum
Computing”
4. A symbolic constant named “Perimeter of a circle” using the
equal-sign directive and assign it an arithmetic expression that
calculates the area in terms of Pi and radius, R of the circle.