Questions:
What is Compiler in C programming?
What is Interpreter in C programming?
What do you mean by Assembler in C programming?
Answers:
Compiler and interpreter are used to convert the high-level language into machine level language. The program written in the high-level language is known as the source program and the corresponding machine level language program is called as an object program.
Both compiler and interpreter perform the same task but there working is different. Compiler read the program at a time and searches the error and lists them. If the program is error free then it is converted into an object program. When program size is large then the compiler is preferred.
Whereas interpreter read only one line of the source code and convert it to object code. If it checks the error statement by statement and hence of taking more time.
An assembler program creates object code by translating combinations of mnemonics and syntax for operations and addressing modes into their numerical equivalents. This representation typically includes an operation code ("opcode") as well as other control bits and data. The assembler also calculates constant expressions and resolves symbolic names for memory locations and other entities.
What is Compiler in C programming?
What is Interpreter in C programming?
What do you mean by Assembler in C programming?
Answers:
Compiler and interpreter are used to convert the high-level language into machine level language. The program written in the high-level language is known as the source program and the corresponding machine level language program is called as an object program.
Both compiler and interpreter perform the same task but there working is different. Compiler read the program at a time and searches the error and lists them. If the program is error free then it is converted into an object program. When program size is large then the compiler is preferred.
Whereas interpreter read only one line of the source code and convert it to object code. If it checks the error statement by statement and hence of taking more time.
An assembler program creates object code by translating combinations of mnemonics and syntax for operations and addressing modes into their numerical equivalents. This representation typically includes an operation code ("opcode") as well as other control bits and data. The assembler also calculates constant expressions and resolves symbolic names for memory locations and other entities.
Tags:
Programming in C