Skip to content

Instantly share code, notes, and snippets.

@kavehmz
Created September 22, 2019 12:56
Show Gist options
  • Save kavehmz/2e0def7d0dce1fdbf9b1ef16e9d2b7fa to your computer and use it in GitHub Desktop.
Save kavehmz/2e0def7d0dce1fdbf9b1ef16e9d2b7fa to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main() {
char a[100];
int i=0;
for (int i = 0; i < 100; i++)
{
a[i]=0;
}
a[ ++i + ++i]= ++i + ++i;
printf("[%d],", i);
for (int i = 0; i < 30; i++)
{
printf("%d,", a[i]);
}
printf("\n");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment