Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain the use of 'auto' keyword

1075


Explain how can I open a file so that other programs can update it at the same time?

1058


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

3072


What is the modulus operator?

1154


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1884


Write a program to print ASCII code for a given digit.

1040


Can static variables be declared in a header file?

1007


Is null always equal to 0(zero)?

993


List some of the static data structures in C?

1158


What are categories used for in c?

1036


What is variables in c?

985


What are the storage classes in C?

1074


When would you use a pointer to a function?

996


Explain how do you sort filenames in a directory?

985


What are the rules for the identifier?

1117