Q. Which macro returns the current file name in C?

  • (A) __LINE__
  • (B) __DATE__
  • (C) __FILE__
  • (D) __TIME__
πŸ’¬ Discuss
βœ… Correct Answer: (C) __FILE__
Explanation: __FILE__ gives the current filename in string format.
Explanation by: Mr. Dubey
__FILE__ gives the current filename in string format.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
67
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate