University of Mumbai BE Chemical Engineering छमाही २ (इंजीनियरिंग) Important Questions for Structured Programming Approach - Pointer and Files
Advertisements
Advertisements
Chapter wise important questions with answers and solutions for Structured Programming Approach in University of Mumbai BE Chemical Engineering छमाही २ (इंजीनियरिंग).
What is pointer? Explain how the pointer variable declared and initialized.
अध्याय: [14] Pointer and Files
Select the correct option from multiple choice question.
void main() {
char a[]= “Hello world”;
char *p;
p=a;
printf(“\n%d%d%d%d”,sizeof(a),sizeof(p),strlen(a),strlen(p) ); }
अध्याय: [14] Pointer and Files
State True or False with reason.
Size of pointer variable is equal to the datatype it points to.
अध्याय: [14] Pointer and Files
State True or False with reason.
The statement void p; is valid.
अध्याय: [14] Pointer and Files
Explain need of file data and various modes of files also write program to create edit copy of file.
अध्याय: [14] Pointer and Files
Explain file handling in c in details.[Note: Mention file type, file
modes, file related functions and its use)
अध्याय: [14] Pointer and Files
Why files are needed? Explain all the opening modes. Write a program to create copy of the user specify names of source and destination files.
