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

hi guyz! i am dng my 2nd yr in engg n i wanna strengthen my C n C++ prgmmng skills........which s d best way for it?? can u suggest me sum gud books to refer??
you can study the online websites and also solve the output,error oriented program in LET US C book by yaswant
Logeshwari
What is an rvalue?
Rvalue was added with the C++11 standard. An lvalue is an expression that refers to a memory location and allows us to take the address of that memory location via the & operator. An rvalue is an expression...
Mohd
What is a stream?
Transferring data from one location to another location...
Nilam
What is a void main() in the C programming language?
In C programming, void main() is an incorrect signature for the main function. The correct signature is int main(). The main function serves as the entry point for C programs and typically returns an integer...
Ambar
0 0
5
What is the difference between #include and #include "file" ?
#include is meant for including standard library files, where as #include "" is for the local/ custom header files.
Kajol

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-Infinite Loop[For] Demo
//Header Files #include<stdio.h>#include<conio.h> //Main function void main(){ //Function for clearing screen clrscr(); //Infinite for loop for(;;) { printf("Hello!"); } //Function for...

Is It Fine To Write “void main()” Or “main()” In C/C++?
The definition: void main() { /* ... */ } Is not and never has been C++, nor has it even been C. See the ISO C++ standard 3.6.1 or the ISO C standard 5.1.2.2.1. A conforming...

Program to swap the value of two variables without using third variable(simplest way)...
int main() { int a=10,b=20; printf("values of a before swap ="%d,a); printf("values of b before swap ="%d,b); a=a+b; b=a-b; a=a-b; printf("******************"); printf("values of a after swap...

What Would Be Life Cycle Of A Fresher After Campus In An IT Company?
1. Basic Technical Training: Since freshers are not subject matter experts so gone through 3 - 6 months basic technical training within Organization. 2. Technical Assessment: HR sends freshers to various...

Tips of learning Java Language/Other Programming Languages
1.You should know the basic concept: If we talk about programming languages so basic concept are same in all the high level languages. So you should know the basic concept firstly then you can easily understand...
I

ICreative Solution

0 0
0

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