// C program to illustrate
// read system Call
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
 
int main()
{
    char c[2];
    int fd1 = open("sample.txt", O_RDONLY, 0);
    read(fd1, &c, 2);
    printf("c = %s\n", c);
    exit(0);
}
