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
What is #define in c?
What are two dimensional arrays alternatively called as?
What is a string?
What are different types of variables in c?
Explain how do you determine a file’s attributes?
Why do we use stdio h and conio h?
Write a program to generate random numbers in c?
What is a stream water?
What is structure data type in c?
Describe the steps to insert data into a singly linked list.
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
What is the use of structure padding in c?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
What is the usage of the pointer in c?
What is string constants?