English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

What is the difference between 56L and 56? - Computer Science

Advertisements
Advertisements

Question

What is the difference between 56L and 56?

Distinguish Between

Solution

56L – The suffix L forces the constant to be represented as long, which occupies 4 bytes.

56 – This will be represented as int type constant which occupies 2 bytes as per Turbo C++.

shaalaa.com
Lexical Units (Tokens)
  Is there an error in this question or solution?
Chapter 9: Introduction to C++ - Data Types, Variables and Expressions - Evaluation - Section - B [Page 151]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 9 Introduction to C++
Data Types, Variables and Expressions - Evaluation - Section - B | Q 6. | Page 151
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×