what is the difference between a compiler and and interpreter?

is the interpreter used for C ?

1 answer

A compiler translates code from a source language (e.g. C, C++, Java) to a target language, which can then be executed by a (virtual or physical) machine.

An interpreter reads code in an interpreted language (e.g. PHP, Perl, JavaScript) and directly executes the contained instructions.

Is the interpreter used for C ?

Not really. Well, for example the format string of printf is interpreted in run-time.
Similar Questions
    1. answers icon 1 answer
  1. What is a difference between a compiler and an interpreter?(1 point) Responses An interpreter creates an executable file. A
    1. answers icon 1 answer
  2. What is a difference between a compiler and an interpreter?(1 point) An interpreter creates an executable file. A compiler
    1. answers icon 1 answer
  3. What is a difference between a compiler and an interpreter?An interpreter creates an executable file. A compiler creates an
    1. answers icon 1 answer
more similar questions