1. Which is the correct form to open a fi le in C: A. f1 = fopen(“fi le”, ”r”); B. fopen = f1(“fi le”, ”r”); C. f1 = fopen(“r”, “fi le”); D. fopen = f1(“r”, fi le”); 2. Which of the following...

1. Which is the correct form to open a fi le in C:

A. f1 = fopen(“fi le”, ”r”); B. fopen = f1(“fi le”, ”r”);


C. f1 = fopen(“r”, “fi le”); D. fopen = f1(“r”, fi le”);


2. Which of the following functions is used to read only one character at a time in a C fi le?


A. fscanf B. fgetc C. fgets D. None of the above 3. Give a brief description of the history of C language.5. Discuss briefl y the characteristics of C. 6. What are the advantages and disadvantages of C? 7. What are the various keywords used in C? 8 Explain different data types in C. 9. What is a constant? Explain the constants in C.




May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here