SubhanUllah Posted October 11, 2022 Report Share Posted October 11, 2022 The const int (or int const) cannot be modified after definition. The int can. Example: const int a = 2; int b; b = a; b++; Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.