#include int main() { char array[8] = "wout\nd\nd"; int i; for(i=0;i<8;i++) { if ( *(array + i) == '\n' ) { printf("newline..."); } } }