Computer Science, asked by keyurpac, 9 months ago

What is the keyword used to declare a C file pointer.? *


Answers

Answered by rubythakur9922
0

Answer:

Const

Explanation:

const keyword is used to declare key pointer

please mark me as Brainliest.....

Answered by mariospartan
1

Asterisk * is the keyword used to declare a C file pointer.

Explanation:

  • A file pointer is a type of pointer that is used to manage and monitor the files that are being accessed.
  • To specify a file pointer, a new data type named "FILE" is utilized.
  • The stdio.h file defines this data type. FILE *fp is the file pointer declaration. 'fp' stands for file pointer.
  • To open a file, use the fopen() function, which returns a FILE pointer.
  • The file pointer can be used to conduct I/O actions on the file once it has been opened.
  • To close the file, use the fclose() method.
Similar questions