English

How many bytes of memory is allocated for the following variable declaration if you are using Dev C++? short int x;

Advertisements

Question

How many bytes of memory is allocated for the following variable declaration if you are using Dev C++? short int x;

Options

  • 2

  • 4

  • 6

  • 8

MCQ
Advertisements

Solution

2

shaalaa.com
Variables of Built-in-data Types
  Is there an error in this question or solution?
Chapter 9: Introduction to C++ - Data Types, Variables and Expressions - Evaluation - Section – A [Page 150]
Advertisements
Share
Notifications



      Forgot password?
Use app×