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
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 |
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 |
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
What is the relation between # and include<stdio.h>
How do I determine whether a character is numeric, alphabetic, and so on?
#include<stdio.h> int f(int,int); int main() { printf("%d",f(20,1)); return 0; } int f(int n,int k) { if(n==0) return 0; else if(n%2)return f(n/2,2*k)+k; else return f(n/2,2*k)-k; } how this program is working and generating output as 9....?
Differentiate between functions getch() and getche().
What is declaration and definition in c?
What is a null pointer in c?
What is a string?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
State two uses of pointers in C?
can you change name of main()?how?
main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }
11 Answers HCL, Vector, Vector India, Vector Solutions, Wipro,