C - Variables and Data Types
You want to create a constant array of 3 integers in C that cannot be modified after initialization. Which of the following declarations achieves this correctly?
const int arr[3] means the elements cannot be changed after initialization.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions