Created
October 23, 2017 12:42
-
-
Save veryyoung/8244883e48e5d1eb8e52a4aff22166b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(void) { | |
int nums[] = {1, 2, 3 , 4, 5}; | |
int length = sizeof(nums) / sizeof(nums[0]); | |
for(int i=0; i<length; i++){ | |
printf("%d,", nums[i]); | |
} | |
printf("%c", 8); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment