Advertisements
Advertisements
Question
What is the difference between 56L and 56?
Advertisements
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++.
APPEARS IN
RELATED QUESTIONS
The following constant is of which type?
032
The following constant is of which type?
0XCAFE
The following constant is of which type?
04.14
Write the following real constant into the exponent form:
23.197
Write the following real constant into the exponent form:
0.319
Describe the differences between keywords and identifiers?
Is C++ case sensitive? What is meant by the term “case sensitive”?
Determine which of the following are valid constant? And specify their type.
‘\t’
Determine which of the following are valid constant? And specify their type.
27,822
What are arithmetic operators in C++? Differentiate unary and binary arithmetic operators. Give example for each of them.
