What will the pre-processor do for a program?

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

Professional Tutor with 15 years of experience.

The pre processor takes a look at your source code just before it goes off to the compiler, does a little formatting, and carries out any instructions you have given it. Each # command that the preprocessor encounters results in a modification to the source code in some way. Let’s take a look at them...
read more
The pre processor takes a look at your source code just before it goes off to the compiler, does a little formatting, and carries out any instructions you have given it. Each # command that the preprocessor encounters results in a modification to the source code in some way. Let’s take a look at them briefly in turn, and then we’ll see what goes on behind the scenes. read less
Comments

Success in CBSE / ICSE Class 12 and 10 Mathematics Boards

Pre-processor is the predefined definitions of specific functions. So , programmer don't need to define while calling similar functions
Comments

We have to include that file to use some ready functions in that particular header file.
Comments

Tutor

The preprocessor takes a look at your source code just before it goes off to the compiler, does a little formatting, and carries out any instructions you have given it.
Comments

Pre-processor, as it suggests, does something before hand. They help in generating code in lesser lines. The lines defined for pre-processing are done during compilation period, which is the reason why it can be better than functions in terms of call overhead because macros are done during compile...
read more
Pre-processor, as it suggests, does something before hand. They help in generating code in lesser lines. The lines defined for pre-processing are done during compilation period, which is the reason why it can be better than functions in terms of call overhead because macros are done during compile time at one go. read less
Comments

Freelance technical trainer / consultant (Embedded systems, Automation / Scripting) : C, Linux, Embedded systems, python, perl, tcl

It takes source file as input, works on all the prerpocessor directives in that file and produces an intermediate file.
Comments

View 4 more Answers

Related Questions

What is C language?
C is a versatile and powerful procedural programming language developed by Dennis Ritchie at Bell Labs in the early 1970s. Known for its simplicity, efficiency, and low-level access to memory, C has become...
Vikram
0 0
7
Why is a compiler used for language C and not an interpreter?
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...
Savitha
0 0
5
Is the C language required to learn Java?
No, learning the C language is not a strict requirement for learning Java. While C and Java share some syntactical similarities, they are distinct programming languages with different paradigms. Java was...
Akhilesh
0 0
7
What is the meaning of \n and \t in C language?
(New line) -- We use it to shift the cursor control to the new line. \t (Horizontal tab) -- We use it to shift the cursor to a couple of spaces to the right in the same line.
Munawar
0 0
5
Is it possible to write big safe programs in C++?
yes. C++ is generally used to write system software. For example windows operating system are writeen in C++. Most of the operating system, device driver and antivirus programs are written by using C++.
Sapna
0 0
6

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-Temperature [conversion from farenheit to degree celsius]
//WAP to convert temperture from farenheit into degree celsius //Header files#include<stdio.h>#include<conio.h> //Main functrion void main(){ //Variable declaration of type float float...

C PROGRAM FOR GENERATING SOUND
#include<stdio.h> #include<conio.h> #include<dos.h> void main() { sound(3000); // sound function have single parameter , this parameter we put integer value its generating...

V. Muthu Ganeshan

0 0
0

Operators in C
Operators in C Operator: An operator is a symbol that tells the compiler to perform certain mathematical or logical calculations. Operators are used in programs to manipulate data and variables. The...

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
0

Recommended Articles

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 >

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 >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

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 >

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