Advertisements
Advertisements
Question
What is the difference between 56L and 56?
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
Can keywords be used as identifiers?
The following constant is of which type?
39
The following constant is of which type?
04.14
Assume n = 10; what will be result of n++ and --n;?
Describe the differences between keywords and identifiers?
Write about Binary operators used in C++.
Write a short note on the const keyword with an example.
Determine which of the following are valid constant? And specify their type.
‘Name’
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