Question
c++ language 1. Print out a table of ranges for each of the system-provided integral variable types (signed and unsigned). To help you get the
c++ language
1. Print out a table of ranges for each of the system-provided integral variable types (signed and unsigned). To help you get the ranges of each integral variable type (instead of just copying them from a book or the internet), use constants defined in C++. SHRT_MAX gives you the minimum value of a short integer (16-bits) INT_MIN gives you the minimum value of an integer (32-bits) etc.
Example Output Table of integral variable type ranges in C++: --------------------------------------------- type range --------------------------------------------- short -32768 to 32767 ushort 0 to 65535 int -2147483648 to 2147483647 uint 0 to 4294967295 long -9223372036854775808 to 9223372036854775807 ulong 0 to 18446744073709551615
2. Create a char array of size 32. Ask the user for their full name, storing it in the array. Finally, display it back to them with some kind of interesting fact or something.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started