What is the use of pragma in embedded c?



What is the use of pragma in embedded c?..

Answer / Sanjeev Kumar Sagar

In Embedded C, Pragma directives are preprocessor commands that modify the behavior of the compiler without changing the source code. They can be used to control various aspects like optimization, memory allocation, and debugging.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Is double link list a linear data structure? If Yes, Why?If No, Why?

4 Answers  


what type of questions arrive in interview over c programming?

1 Answers  


How to add two numbers with using function?

4 Answers  


How do you define a string?

1 Answers  


How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?

2 Answers   CMC, Wipro,


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

1 Answers   Wilco,


Table of Sudoku n*n

0 Answers  


How does the C program handle segmentation faults?

2 Answers  


Is it fine to write void main () or main () in c?

1 Answers  


WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include<stdio.h> #include<conio.h> void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }

25 Answers  


Why c is a procedural language?

1 Answers  


how can use subset in c program and give more example

1 Answers  


Categories