Question: can fopen() open .c file?
Answer: fopen() function is used to open a file to perform operations such as reading, writing etc. In a C program, we declare a file pointer and use fopen() as below. ... mode – refers to the operation that will be performed on the file. Example: r, w, a, r+, w+ and a+.