csci4061/notes/03-process-basics-code/overflow.c~

10 lines
175 B
C
Raw Permalink Normal View History

2018-01-29 23:28:37 +00:00
#include <stdio.h>
int main(int argc, char *argv[]){
char *a[3] = {'A','B','C'};
for(int i=1; ; i++){
printf("%c",a[i]);
if(i%40 == 0){
printf("\n");
}