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 are type qualifiers in c language
The type qualifiers/modifiers in C language are used to alter the meaning of basic data types. These can be divided into 3 categories: 1. Size modifiers a. short (default) b. long 2. Sign modifiers a....
Profile Photo
Mahesh
What is a calling function in C?
In C, a calling function, also referred to as a calling routine or a caller, is a function that invokes or "calls" another function. When a program executes, control is transferred from the calling function...
Profile Photo
Deepika
0 0
View Comments6
How do we print something, e.g. my name, in C language without using the printf function?
int main() { char str1; char str1; strcpy (str1,"tutorialspoint"); strcpy (str1,"compileonline"); puts(str1); puts(str1); return (0); } Compile and run the above program to produce the following result tutorialspoint compileonline
Profile Photo
Praveen
0 0
View Comments6
How do I learn C programming by videos or books?
BOOKS AND PRACTICE by far remain the best way for learning any language ....
Profile Photo
Fgrefg
0 0
View Comments7
what is syntex error
A syntax error is an error which found in the source code of a program or sometimes it can be small grammatical mistakes in spelling or limited to a single character. Programming languages follow their...
Profile Photo
Tanha

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

Ask a Question

Related Lessons

Why we need to learn Programming languages?
Language is medium for communication. If two parties like to communicate or exchange the thoughts they must know a language. Language should be understandable by both the Parties. For example A wants to...
Profile Photo

Creating First Program Using C Language
Step 1: Install and setup Turbo C compiler on your computer. Step 2: Open Turbo C from your Desktop or Programs menu. Select “File” from menu bar and select option “New”. Step...
Profile Photo

Advantages of C++ Language
Advantages of C++ - C++ is a profoundly convenient dialect and is frequently the dialect of decision for multi-gadget, multi-stage application advancement. - C++ is a protest situated programming dialect...
Profile Photo

Some interview questions and answers for fresher level on Pointers
What is a void pointer? Void pointer is a special type of pointer which can reference or point to any data type. This is why it is also called as Generic Pointer. As a void pointer can point to...
Profile Photo

Be prepared to get trained--init
Before starting the training,students must be mentally prepared for acceptance of new knowledge. Students must attend training with open minded forgetting the position they are working.This will help...
S

Smartnub Softsolutions

0 0
View Comments0

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