C Programming MCQ

1: Expression ((fpt=fopen("Samples","w"))==NULL)would be true if
A. The file sample does not exist while fopen is being executed
B. The file sample could not be created for writing
C. fpt is declared as a FILE pointer
D. The file sample is read only
 

Answer : B

Explanation :

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.