C++ Syntax questions

What are the new features that ISO/ANSI C++ has added to original C++ specifications?

New Data types:
- bool
- wchar_t

New operators
- const_cast
- static_cast
- dynamic_cast
- reinterpret_cast
- typeid

Class implementation
- Explicit constructors
- Mutable members

Namespace scope
Operator keywords
New keywords
New headers

What are the Sizes and ranges of the Basic C++ data types?

Following table is with respect to a 16-bit word machine:

char1-128 to 127
unsigned char10 to 255
signed char1-128 to 127
int2-32768 to 32767
unsigned int20 to 65535
signed int 22-32768 to 32767
short int 22-32768 to 32767
unsigned short int20 to 65535
signed short int2-32768 to 32767
long int 44-2147483648 to 2147483647
signed long int4-2147483648 to 2147483647
unsigned long int40 to 4294967295
float 443.4E-38 to 3.4E+38
double 881.7E-308 to 1.7E+308
long double103.4E-4932 to 1.1E+4932

What is a constructor?
What is a constructor? - Constructors allow initialization of objects at the time of their creation....
What are destructors?
What are destructors? - Destructors are called automatically to destroy the object...
What are the restrictions apply to constructors and destructors? - C++
What are the restrictions apply to constructors and destructors? - Constructors and destructors don't return values......
Post your comment