size_t size; cout << "Enter the array size "; cin >> size; cout << endl; int ary[size];
const size_t MAX_SIZE =10; int main() { int ary2[MAX_SIZE]{0}; size_t i; for(i =0; i <= MAX_SIZE; i++) { cout << ary2[i] << " "; } cout << endl;
bool CheckArray(const int array[], size_t size) {
int Fibonacci(int limit){ int old = 1; int current = 1; int sum = 1; int i; for(i = 2; i <= limit; i++) { sum = old+current; old = current; current = sum; } return sum; }