c programming session 16
Post on 16-Apr-2017
209 Views
Preview:
TRANSCRIPT
Slide 1 of 3Ver. 1.0
Programming in C
In this session, you will do the practice questions of Chapter 7 and Chapter 8.
Practice Questions
Slide 2 of 3Ver. 1.0
Programming in CChapter 7
1. You are a part of a database software development team. The software you are developing is to be used to create and query on database files. You are assigned the task of writing a C program, which displays the structure of any database file, as given in the following file.
Microsoft Word Document
Slide 3 of 3Ver. 1.0
Programming in CChapter 8
1. Read a file after the first 10 characters and print it on screen. (Hint: Create a text file by the name of Example.txt and write 2-3 lines of content in it.)
2. Write your name 10 character after the end of the file. Also, use the exit() function to terminate the execution, if you are unable to write or open the file.
top related