Data structures, Algorithms, Coding, Technical Interview Questions and much more. (Still work in progress)
int main() { int a[10]={1, 2, 4, 4, 7, 8, 9, 14, 14, 20}; int i; for (i = 0;i<9;i++) { if (a[i] != a[i+1]) printf("%d\n",a[i]); } return 0; }
0 comments:
Post a Comment