Assignment
Class 2K14 Section B
Q.01
Q.02
Q.03
Write a programme that takes as input the numerators and denominators of two fraction . The programme should
display the numerator and denominator of the fraction that represents the productof the two fractions.
Q.04
What is a function prototype..? When a function execute where should a function prototype and function definition
appear in a source programme..?
Q.05
How does firmware differ from a software program stored on the Hard drive.?
Q.06
For each of the following functions explain its purpose, the type(s) of its output parameters, and the type(s) of its
input parameters. Also indicate if it is user defined of it is from the string library of from the type library..?
Strcpy
isalpha
Strcat
Strncat
Strcmp
islower
Strncpy
Strlen
Scanline
Q.07
What is the primary difference between a structure and an array.? Declare an array of 40 2k9_students, and write
code segment that displays an separate line the name (last name, first name) of all the students in the list.
Q.08
Q.09
What features of C language encourages the encapsulation of data objects and their operations..?
Q.10
How does the C compiler known whether to look for an included file in the system directory or in the programme
directory..?
*****The End*****