Added stack address randomization example.
[C-Programming-Examples.git] / ex_1-9.c
blob5cf48c20b727579d80bee4984b8346089110f17a
1 #include <stdio.h>
3 main()
5 char first, second;
7 second = EOF;
9 while (( first = getchar()) != EOF)
11 // putchar(first);
13 if(first == ' ')
14 if(second != ' ')
15 putchar('\n');
17 if(second != ' ')
18 putchar(first);
20 second = first; /* move old char to new char */