What is #pragma directive?how it is used in the program?
what is its advantages and disadvantages?
Answer Posted / kapil thakar
#pragma is used to give specific instruction to compiler...
like used only reg bank 3..
then
#pragma BANK_3
used be witten in ur code..
another example..
#pragma worning_3
display worning upto level 3
There are many more pragma dependent on compiler ...
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain the use of keyword 'register' with respect to variables.
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
Why do we need arrays in c?
differentiate built-in functions and user – defined functions.
Explain what will the preprocessor do for a program?
Explain what is the benefit of using const for declaring constants?
Explain what is the use of a semicolon (;) at the end of every program statement?
What is c mainly used for?
Explain what is operator promotion?
Explain is it valid to address one element beyond the end of an array?
How can you find the exact size of a data type in c?
Can we initialize extern variable in c?
Why is c called c not d or e?
What is file in c language?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd