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

How and where do I start learning C programming?
To start learning C programming, you can follow a structured approach that includes both theoretical knowledge and practical implementation. Begin with understanding the basics of C, including variables,...
Gaurav
0 0
7
Are C and C++ a prerequisite for learning Java?
yes..syntax of java is same as a c and c++..so it the advantage if you know any one of these.
Mrunal
0 0
5
What is the structure of a C program?
A C program typically starts with preprocessor directives, followed by global variable declarations. It then defines functions, one of which must be the main() function, serving as the entry point. The...
Igno
0 0
5
Can a function defined inside another function?
No its not allowed, but some compilers support. Instead check out OOP C++, which would encapsulation, that is better than function in function.
Kamal
0 0
8
Is C destined to die?
No not at all
Anubhav
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

Storage classes in c
Storage classes determine the scope and life time of a variable. Scope is defined as the region over which the defined variable is accessible. Lifetime is the time during which the value of a variable...

Difference Between C Language and C Program
C Language: C Language is structured, high level and machine independent language. C Program: C Program is the collection of functions that are supported by C library.
S

Shashwat Kumar

0 0
0

Can we store different data types in a stack?
Yesterday, one of my Facebook friend asked me this question. My answer is "yes", and in this post I will discuss how could we do this.I am a great supporter of working with unions and I will be using union...

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...

Dynamic Memory Allocation in C using malloc()
#include <stdio.h>#include <conio.h>//#include <malloc.h> OR#include <stdlib.h>void main(){ int *ptr, i, n, sum = 0; printf("how many elements ? "); scanf("%d", &n);...

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