ArrayPractice-1

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> // C plus plus #include<stdio.h> // C languange using namespace std; int main() { int n; cout<<"Enter Size"; cin>>n; int A[n]; A[0]=2; int B[] = {}; // int A[5]; // A[0] = 12; // A[1] = 15; // A[2] = 25; // // A[3] for(int x:A){ cout<<x<<endl; } // cout<<sizeof(A)<<endl; // cout<<sizeof(B)<<endl; // cout<<A[1]<<endl; // printf("%d\n", A[2] + A[4]); return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines