Skip to content

Instantly share code, notes, and snippets.

@sachith-1
Last active October 4, 2021 07:12
Show Gist options
  • Save sachith-1/1989c49ed9d766b6e5cc527f198f7613 to your computer and use it in GitHub Desktop.
Save sachith-1/1989c49ed9d766b6e5cc527f198f7613 to your computer and use it in GitHub Desktop.
void dataToArray(int* a, int n){
int i;
for(i = 0;i < n; ++i){
a[i]=i;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment