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 has to put when we are inserting as assembly language
code into the C code? or When we are inserting as assembly
language code into the C code we have to insert one thing
at the start and of the assembly language. What are they?

Answers were Sorted based on User's Feedback



What has to put when we are inserting as assembly language code into the C code? or When we are in..

Answer / vaishnavi

we can insert assembly code by using asm()
asm("assembly code")
The compiler will insert these asm code into the assembly code being generated, and hence the compiler-supplied and the user-supplied assembly will be combined

Is This Answer Correct ?    3 Yes 0 No

What has to put when we are inserting as assembly language code into the C code? or When we are in..

Answer / sivavendra

Yes,, we have to give the assembly code as inline function as follows.....

asm
{
"assembly instructions"
}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

what is the use of call back function in c?tell me with example

2 Answers   Bosch,


Why & is used in c?

0 Answers  


What is omp_num_threads?

0 Answers  


what is an ERP?

2 Answers   Infotech,


Ow can I insert or delete a line (or record) in the middle of a file?

0 Answers  


What are the c keywords?

0 Answers  


Explain the difference between null pointer and void pointer.

0 Answers   TCS,


Explain the difference between fopen() and freopen().

2 Answers  


What are the advantages of using new operator as compared to the function malloc ()?

0 Answers   NIIT,


What is a macro?

0 Answers  


Can a program have multiple main() functions?

1 Answers  


main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); }

27 Answers   Advent Global Solutions, CitiGroup, Valeo Lighting Systems India Private Limited, Vishal Transformers, Wipro, Zencer,


Categories