1. Write a program to store a date in an optimized structure that includes properly-sized bit fi elds. The program accepts a date as three integers in the form dd mm yyyy and prints the values using the structure.
2. Write a program that assigns the values 1, 2 and 4, representing read, write and execute permissions, to an enumeration. With valid user input, the program must print a message, say, “File has read permission.
3. When will you use the library functions to handle fi les in preference to the <> redirection features?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here