Ch. 2.11: Determining the Size of a Data Type Flashcards
1
Q
How do you determine the size of an integer type?
A
Use the sizeof operator. E.g. cout «_space;“The size of an integer is “ «_space;sizeof(int);
Intro to Computer Programming > Ch. 2.11: Determining the Size of a Data Type > Flashcards
How do you determine the size of an integer type?
Use the sizeof operator. E.g. cout «_space;“The size of an integer is “ «_space;sizeof(int);
Intro to Computer Programming (78 decks)