#include <iostream>
int main() {
// Array declaration by specifying size
int array1[10];
int a = 10;
int array2[a];
}
#include <iostream>
int main() {
// Array declaration by initializing elements
int array[] = { 1, 2, 3, 4 }
}
#include <iostream>
int main() {
// Array declaration by specifying size and initializing
int arr[5] = { 1, 2, 3, 4 }
}