what is the meaning and use of #pragma in c language or c++ language? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is the meaning and use of #pragma in c language or c++ language?

23rd Jun 2016, 2:17 PM
gandhiyash
6 Answers
+ 1
#pragma is used to control the compiler options like preprocessor extension to it For example: #pragma align - to control memory alignment
26th Jun 2016, 6:43 AM
Ramesh Marisa
+ 1
http://www.cprogramming.com/reference/preprocessor/pragma.html kindly let me know if you want any clarification
26th Jun 2016, 8:03 AM
Ramesh Marisa
26th Jun 2016, 8:04 AM
Ramesh Marisa
+ 1
The c language by dennis ritchie second edition http://www.geeksforgeeks.org/c/
26th Jun 2016, 3:45 PM
Ramesh Marisa
0
ramesh marisa plz give me reference about of this.
26th Jun 2016, 7:57 AM
gandhiyash
0
thanks ramesh and one more question can u plz suggest me best website or book to learn c or c++ headers file?
26th Jun 2016, 3:02 PM
gandhiyash