What are Constants in Objective-C?
1662
11-Dec-2015
Updated on 24-Sep-2020
Tarun Kumar
11-Dec-2015Constants can be of any of the basic data types like an integer constant, a floating constant, a character constant, or a string literal.
The constants are treated just like regular variables except that their values cannot be modified after their definition.