Professional Documents
Culture Documents
PART-A
Q1. How can you relate the function with the structure? Explain with an appropriate
example.
Q2. Explain the method of passing a structure by value as an argument to a function with an
example of prototype function declaration, function call.
PART-B
Q4. Is it necessary that a file created in text mode must always be opened in text mode for
subsequent operations? What is the appropriate answer? Explain with example.
Q6. WAP that prompts the user to input name of a text file, read the text file & output
number of vowels and words in the text.
Q7. Write a program to copy the contents of one FILE into another FILE.