Basic and Advance C Question:

What are pragmas and what are they good for?

Tweet Share WhatsApp

Answer:

The #pragma directive provides a single, well-defined ``escape hatch'' which can be used for all sorts of (nonportable) implementation-specific controls and extensions: source listing control, structure packing, warning suppression (like lint's old /* NOTREACHED */ comments), etc.

Download C Programming PDF Read All 221 C Programming Questions
Previous QuestionNext Question
What should malloc0 do? Return a null pointer or a pointer to 0 bytes?What is the correct declaration of main?