answersLogoWhite

0

What is a compiler in c program?

Updated: 9/4/2023
User Avatar

Wiki User

10y ago

Best Answer

The compiler is software that allows any high-level language to be translated into the machine language, compilers are language specific, i.e. C language has its own compiler which will translate the code written in C language to the machine language, compiler for Java will do the same task for the Java code

User Avatar

Wiki User

8y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

There are many type of errors in C Programming.Some errors are logical,i.e there is something wrong in your logic and that's why u are not getting your desired answer.keep in mind that you will still get output (although wrong) in this case.Some error are compilation error,i.e. the error is in your c commands,the compiler will notify in this case.And then there is runtime error like bound checking error(suppose you take an array of 10 cells & giving more than 10 inputs)..

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

To be blunt, you stuffed up. Read the manual again.

1. an error in the compiler-program

2. an error in the source program detected by the compiler

3. an error in the command line feed to the compiler

4. an error in the make file.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

Yes, and its reason can be a minor mistake in coding for example missing of semi colon.

No, run-time errors occur after successful compilation, when the program is running. That why they are called run-time errors.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

A compile time error, also known as a syntax error, is an error detected by the compiler due to a failure to comply with the rules of syntax or lexical constructs for the language. This is different than a logic error, which is not detected by the compiler, but nevertheless causes the program to not run correctly.

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

A compiler is a software program that translates C code into object code. The resultant object code can then be linked to produce an executable.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

Here is an example:

for (i= 0; i<10; --i) printf ("i=%d\n", i);

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Also known as a runtime error.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a compiler in c program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How program can be complied in c?

C programs can be compiled with a C compiler. Are you surprised?


C program on left factoring in compiler design?

how to create a c program for left factoring.


What is a c compiler?

compiling program, compiler - (computer science) a program that decodes instructions written in a higher order language and produces an assembly language program


How do you compile a c program in windows OS?

First, install a C-compiler.


What is the use of c compiler in windows?

The c compiler in Windows converts the binary code from source files. C is a compiled programming language and it needs to be converted for the program to run.

Related questions

What would be the purpose to download a c compiler?

A C Compiler is a program for computers that can be use for programming and deciphering languages. The C Compiler program has been around for several years and is easy to use.


How program can be complied in c?

C programs can be compiled with a C compiler. Are you surprised?


C program on left factoring in compiler design?

how to create a c program for left factoring.


What is the compiler that is used in C?

A program that translates source program into object code.


What is a c compiler?

compiling program, compiler - (computer science) a program that decodes instructions written in a higher order language and produces an assembly language program


How do you compile a c program in windows OS?

First, install a C-compiler.


What translator is needed for C programming language?

To translate the C source code program, you need a program called a "C compiler".


Is c an application or software?

"C" is a programming language. It is implemented by writing a program using the C syntax and then translated by a compiler, which is an application program.


How a c compiler work?

compiler is just translator it translates the our source program to equivalent langauage,so computer can easily understand and compile that program efficiently................


What is the use of c compiler in windows?

The c compiler in Windows converts the binary code from source files. C is a compiled programming language and it needs to be converted for the program to run.


How can you turn a C plus plus program into a dot exe to run on a PC without a compiler?

To make C++ code into an executable program, you need a compiler. Compilation of a program doesn't have to be on the same computer as the one it's intended to be used on.


How do you compile and execute a 16 bit compiler program from a command prompt?

Compiler-dependent. If you have Turbo C, it will be command TCC