Use the C programming language to write code that proclaims and sets a double, int, and char. Afterward, proclaim and set a pointer to the double, int, and char. The code must print the inscription of, and value stored in, and the memory size (in bytes) of all six variables. The "0x%x" formatting specifier outputs inscriptions in hexadecimal. The "%f" outputs floating values. The sizeof operator must determine the memory size allocated for all variables. SAMPLE OUTPUT: Char ___ 's inscription is 0x___ Int ___'s inscription is 0x___ Double ___'s inscription is 0x___ Char* ___'s inscription is 0x___ Int* ___'s inscription is 0x___ Double* ___'s inscription is 0x___ Char ___ 's value is ___ Int ___'s value is ___ Double ___'s value is ___ Char* ___'s value is 0x___ Int* ___'s value is 0x___ Double* ___'s value is 0x___ Char ___ 's size is ___ bytes Int ___'s size is ___ bytes Double ___'s size is ___ bytes Char* ___'s size is ___ bytes Int* ___'s size is ___ bytes Double* ___'s size is ___ bytes
Use the C programming language to write code that proclaims and sets a double, int, and char. Afterward, proclaim and set a pointer to the double, int, and char. The code must print the inscription of, and value stored in, and the memory size (in bytes) of all six variables. The "0x%x" formatting specifier outputs inscriptions in hexadecimal. The "%f" outputs floating values. The sizeof operator must determine the memory size allocated for all variables.
SAMPLE OUTPUT:
Char ___ 's inscription is 0x___
Int ___'s inscription is 0x___
Double ___'s inscription is 0x___
Char* ___'s inscription is 0x___
Int* ___'s inscription is 0x___
Double* ___'s inscription is 0x___
Char ___ 's value is ___
Int ___'s value is ___
Double ___'s value is ___
Char* ___'s value is 0x___
Int* ___'s value is 0x___
Double* ___'s value is 0x___
Char ___ 's size is ___ bytes
Int ___'s size is ___ bytes
Double ___'s size is ___ bytes
Char* ___'s size is ___ bytes
Int* ___'s size is ___ bytes
Double* ___'s size is ___ bytes
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 3 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)