Why is a compiler used for language C and not an interpreter?

Asked by Last Modified  

Follow 5
Answer

Please enter your answer

Hi, C is a structured programming language. It’s code consists of many macros, function calls references etc., which is required to be decoded before program’s execution can take place, so that any error is detected well before execution. Interpreted languages on the other hand execute statement by...
read more
Hi, C is a structured programming language. It’s code consists of many macros, function calls references etc., which is required to be decoded before program’s execution can take place, so that any error is detected well before execution. Interpreted languages on the other hand execute statement by statement, hence any error in program is determined only when execution reaches that particular statement with error. read less
Comments

Home Tutor

Compiler is fast then interpreter
Comments

Interpreter Translates program one statement at a time While compiler Scans the entire program. Interpreter continues translating the program until the first error is met so overall execution time is slower. While compiler generates the error message only after scanning the whole program so overall...
read more
Interpreter Translates program one statement at a time While compiler Scans the entire program. Interpreter continues translating the program until the first error is met so overall execution time is slower. While compiler generates the error message only after scanning the whole program so overall execution time is faster. . But using interpreter debugging is easy and No intermediate object code is generated, hence are memory efficient. read less
Comments

Corporate Trainer

C is a structured programming language. It’s code consists of many macros, function calls references etc., which is required to be decoded before program’s execution can take place, so that any error is detected well before execution. Interpreted languages on the other hand execute statement by statement,...
read more
C is a structured programming language. It’s code consists of many macros, function calls references etc., which is required to be decoded before program’s execution can take place, so that any error is detected well before execution. Interpreted languages on the other hand execute statement by statement, hence any error in program is determined only when exexution reaches that particular statement with error. read less
Comments

Engineer

C is a structured programming language. It’s code consists of many macros, function calls references etc., which is required to be decoded before program’s execution can take place, so that any error is detected well before execution. Interpreted languages on the other hand execute statement by statement,...
read more
C is a structured programming language. It’s code consists of many macros, function calls references etc., which is required to be decoded before program’s execution can take place, so that any error is detected well before execution. Interpreted languages on the other hand execute statement by statement, hence any error in program is determined only when exexution reaches that particular statement with error. Interpreted languages on the other hand execute statement by statement, hence any error in program is determined only when exexution reaches that particular statement with error. read less
Comments

View 3 more Answers

Related Questions

What does the modulus operator do?
It provides you the remainder of an integer value.
Sumit
What purpose does \n have in C programming?
is used for new line. It prints the output in New or next line
Nasar
0 0
9
What does %d mean in the C programming language?
signed decimal integer %d is not the only format specifier in C to represent integers. To be precise, %d is used to represent a signed decimal integer.
Vikas
0 0
6
How do I check my C programming skills?
You can your programming by writing programs for scenario type questions and take skill test in techgig.com
Ramnarayanan
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

C Program-Error Handling
//Header files #include<stdio.h>#include<conio.h>#include<stdlib.h> //Main function void main(){ int dividend=10; int divisor=0; int quotient; //Function for clearing screen clrscr(); ...

Understanding Computer Science Concepts with Images and Videos..
All Computer science concepts relating to programming and software development are only virtual. It cannot be practically shown as a hardware parts of a computer. But for better understanding it should...

Compiler vs Interpreter
Compiler Interpreter Convert all the code into binary format and execute. Convert one statement at a time and execute, then Convert next statement and execute. After conversion, source...

Datatypes in C Language
Data types in C Language Data types specify how we enter data into our programs and what type of data we enter. C language has some predefined set of data types to handle various kinds of data that...

Memory Layout of C Programs
A typical memory representation of C program consists of following sections. Text Segment: A text segment, also known as a code segment or simply as text, is one of the sections of a program in an object...

Recommended Articles

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you