+ 3

Why do we use const data type before int main()?

14th Nov 2016, 3:37 PM
Muhammad Hamza
Muhammad Hamza - avatar
1 Answer
+ 9
It is not mandatory to declare and use them before int main(). The main idea is not to try to change them, as they are constant, otherwise it will cause an error
15th Nov 2016, 5:52 AM
LyannaM
LyannaM - avatar