1.what Is Mixed Language Programming?
1.what Is Mixed Language Programming?
1. There are times when programs need to call programs written in other languages
referred as mixed language programming. For example, when a particular subprogram is
available in a language other than language you are using, or when algorithms are
described more naturally in a different language, you need to use more than one
language.
2. Mixed-language programming always involves a call to a function, procedure, or
subroutine. Mixed-language calls involve calling functions in separate modules. Instead
of compiling all source programs with same compiler, different compilers or assemblers
are used as per the language used in the programs.
3. Microsoft C supports this mixed language programming. So it can combine assembly
code routines in C as a separate language.
4. C program calls assembly language routines that are separately assembled by-MASM
(MASM Assembler). These assembled modules are linked with the compiled C modules
to get executable file.