Advertisements
Advertisements
Question
Give reason whether the following assignment is correct or not.
int m = 155;
One Line Answer
Solution
This assignment is correct because 155 is an integer literal that is assigned to the int variable m.
shaalaa.com
Is there an error in this question or solution?
Chapter 1.03: Values and Data Types - EXERCISES [Page 33]