Arrays Introduction

  • + 4 comments

    Heres another solution:

    int main() {
        int n;  
        cin >> n;
        const int a = n;
        int arr[a];
    
        return 0;
    }