Skip to content

Instantly share code, notes, and snippets.

@nazrdogan
Created November 22, 2013 12:01
Show Gist options
  • Save nazrdogan/7598851 to your computer and use it in GitHub Desktop.
Save nazrdogan/7598851 to your computer and use it in GitHub Desktop.
Array element
#include<iostream>
using namespace std;
int test [5] = { 0, 0, 0, 0, 0 };
int main(){
for (int n=0; n<5; n++){
if(test[n]==0)
{
cout<<"TEST"<<test[n];
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment