Saved Bookmarks
| 1. |
What is wrong with the following statements? (a) const int y;(b) long float x;(c) char ch=A;(d) cin » a » ’\n’; |
|
Answer» a. y has to be initialized b. long & float both are different data types. c. A should be written in single quotes ('A'). d. \n can not be taken as input as it is an escape sequence |
|