Which of the following is a valid example of a constant in C programming?
18 views
- a) "hello"
- b) 3.1415
- c) `A`
- d) All of the above (Correct Answer)
Explanation
Answer: d) All of the above. These are all valid examples of constants in C programming: a string constant ("hello"), a floating-point constant (3.1415), and a character constant (`A`).