Skip to content

Instantly share code, notes, and snippets.

@aam-himel
Created November 25, 2020 17:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aam-himel/7929cf042082f28009e0b7405c05aecc to your computer and use it in GitHub Desktop.
Save aam-himel/7929cf042082f28009e0b7405c05aecc to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main()
{
int arr[] = {10, 20, 44, 1, -3, 66};
int n = sizeof(arr)/sizeof(arr[0]);
for(int i=0; i<n; i++){
cout << arr[i] << "\n";
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment