Question: Select: (2 points) What is the correct code to open file ECE.txt in append mode having the file pointer p? Select one: a. p=fprintf(ECE.txt,a) O

 Select: (2 points) What is the correct code to open fileECE.txt" in append mode having the file pointer p? Select one: a.p=fprintf("ECE.txt","a") O b.p=fopen("ECE.txt", "a") c. p=fopen("ECE.txt","w") d. p=fopen("ECE.txt","r") Select: (2 points) Todeclare a stream pointer spData, the following command is used: Select one:

Select: (2 points) What is the correct code to open file ECE.txt" in append mode having the file pointer p? Select one: a. p=fprintf("ECE.txt","a") O b.p=fopen("ECE.txt", "a") c. p=fopen("ECE.txt","w") d. p=fopen("ECE.txt","r") Select: (2 points) To declare a stream pointer spData, the following command is used: Select one: a. FILE sp Data; Ob.file *sp Data; O c. FILE *sp Data; O d. int *spData; Select: (2 points) What is the correct code to open file "ECE.txt" in read mode having the file pointer p? Select one: a. p=fprintf("ECE.txt","r") O b.p=fopen("ECE.txt","a") O c. p=fopen("ECE.txt","w") O d. p=fopen("ECE.txt","r") Select: (2 points) To declare a char pointer p, the following command is used: Select one: O a. file *p; O b. float* p; O c. int* p; O d. char *p

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!