Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- // the code won't work after runtime error
- int ara[5];
- int x = 5;
- int y = 0;
- ara[10] = 100;
- // runtime error
- printf("%d\n", x/y);
- // runtime error
- printf("hello world");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement