#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

int
main(int argc, char *argv[])
{
    int i;
    char msg[] = "salam be hameghi\n";

    setbuf(stdout, NULL);
    for (i = 0; i < strlen(msg); i++) {
        printf("%c", msg[i]);
        sleep(1);
    }
    exit(EXIT_SUCCESS);
}
