UrbanPro

Learn C Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

What is #line used for?

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

Mathematics & Computer Help

# is a preprocessor directive. so it is used in the c program by two way. 1. such as #include stdio.h In this line to read all the library function of stdio.h before processing the program. 2. # define MAX 10. in this line you define MAXas a global variable for whole program. that is you can use...
read more
# is a preprocessor directive. so it is used in the c program by two way. 1. such as #include stdio.h In this line to read all the library function of stdio.h before processing the program. 2. # define MAX 10. in this line you define MAXas a global variable for whole program. that is you can use MAX any where in the program and it will consider as a 10. read less
Comments

14yrs exp Math Computers Science English Hindi Teaching. Improvement In Scores Guaranteed Fee REFUND

.. To include header files.
Comments

Thank You for your Question... The #line pre-processor directive is used to reset the values of _FILE_ and _LINE_ macros. These are useful in generating an error message to report an inconsistency detected by the program. Thanks, Team DishaaPro
Comments

Python and Unix Professional(10 years IT Exp)

A preprocessor line control directive supplies line numbers for compiler messages. It causes the compiler to view the line number of the next source line as the specified number.
Comments

Computer & Maths Wizard

Line starting with # is used for preprocessor
Comments

Technology expert

# called as pre processor directive. It directs the compiler to goto the perticular header files and get the information about the built-in functions.
Comments

Doing mathematics & computing from IIT Delhi

#line is used to include a library in c,c++. eg: #include fstream this is a file stream. It is used to read and write a file.
Comments

IT Professional Trainer with 13 years of experience in IT industry + Academics

Preprocessor directives which is being included before compilation process of a C program
Comments

Computer & Maths Professor

# denotes the indication of a pre-processor directive in C. The pre-processor directives are those statements that are executed first before the execution of other statements.
Comments

C and linux Expert

this directive is used to reset the values of the _ _LINE_ _ and _ _FILE_ _ symbols, respectivel.
Comments

View 68 more Answers

Related Questions

What is the meaning of \n and \t in C language?
is used for new line and \t is used to give 3-space (1 tab space) in between the words
Soumya
0 0
5
What are the toughest topics in C language?
Pointers and memory management
Kavidassan
0 0
6
How to enable or disable USB using C program?
Already given answer kindy see in my back command.
Arindom M.
What are the functions in C programming?
In C programming, functions are blocks of code that perform a specific task. They allow you to break down your program into smaller, reusable pieces, making your code more modular and easier to understand....
Advm
0 0
5
What is = and == in C language?
= is assignment operator while ==is comparision operator
Sayed
0 0
7

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

Ask a Question

Related Lessons

Find out the Output of the following with reason and get C Language Training fess less by 10%
1. void main() { clrscr(); printf(5+"Beautifull"); getch(); } 2. void main() { int a=50; clrscr(); ...

How do i get best Campus / Off Campus Placement?
Companies are looking for Skilled Freshers. So build your technical skills while doing MCA / BTech / BCA / BSc (IT or CS) into below areas- 1. Strong your programming & debugging skills ...

C Language
To get help in C window (for keywords, functions) press Alt +F1.To delete a single line , use the shortcut key CTRL +Y.If you got error about the path when you execute a C pgm, check the Options menu =>Directories.
T

Thilagam S.

0 0
0

C Program-The Odd Loop Demo
/* WAP to print square value of the number entered by user using odd loop*/ //Header Files #include<stdio.h>#include<conio.h> //Main Function void main(){ char another='y'; int num,sq; //...

Programming Practice Technique
Any Programming Language required an Algorithm. Algorithm - It is the finite set of instructions in which each and every instruction has the meaning, instructions are not ambiguous and all the instructions...

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 >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

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
X

Looking for C Language Classes?

The best tutors for C Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C Language with the Best Tutors

The best Tutors for C Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more