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
Which of the following statements is not true?
What are keywords?
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
Is C++ case sensitive? What is meant by the term “case sensitive”?
Write about Binary operators used in C++.
Determine which of the following are valid constant? And specify their type.
‘\t’
How relational operators and logical operators are related to one another?
