Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int ara[] = {1,2,3,4,5};
- int i, count = 0;
- for(i = 0; i < ara[i]; i++) {
- count++;
- }
- printf("%d\n", count);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement