Question: For this assignment, a small refresher, write a program that outputs all data types available to C++ programs (some research may be necessary) along with
For this assignment, a small refresher, write a program that outputs all data types available to C++ programs (some research may be necessary) along with the size of the data types. You should use the sizeof(..) operator to output the size of the data type. If you feel the urge to venture into object-types (ex. string) go for it. Be sure to only submit the .cpp file for the project that is named something better than main.cpp (e.g. dataTypeFiLi.cpp). (Fi - first initial, Li - last initial) Also be sure that you document your name, the date, and the title of the program. A sample output of your program should be as follows: short is 2 bytes unsigned short is 2 bytes int is 4 bytes unsigned int is 4 bytes ...
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
