2079 6

CSC115 ยท 2079 ยท 5 marks

Differentiate between constant and literals. Why do we need to define the type of data?

Differentiate between constant and literals. Why do we need to define the type of data? [5]

C ProgrammingChapter 2: Elements of CConstants/ Literals

--- Basis Constant Literal --------- Definition A constant is a named memory location whose value cannot be changed during program execution. A literal is a fixed, raw value that appears directly in the source code. Has a Name? Yes, it has an identifier/name. No, it has no name; it is the value i...