πŸ“Š C Programming
Q. Which preprocessor directive stops multiple inclusions?
  • (A) #define ONCE
  • (B) #ifndef
  • (C) #pragma once
  • (D) Both 2 and 3
πŸ’¬ Discuss
βœ… Correct Answer: (D) Both 2 and 3

Explanation: #ifndef with #define and #endif, or #pragma once, can prevent multiple inclusion.

Explanation by: Mr. Dubey
#ifndef with #define and #endif, or #pragma once, can prevent multiple inclusion.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
61
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate