In C, What is the #line used for?

Answer Posted / hrpynux@gmail.com

The #line directive tells the preprocessor to set the compiler's reported values for the line number and filename to a given line number and filename.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you determine the maximum value that a numeric variable can hold?

649


Write a program to check whether a number is prime or not using c?

588


Why does the call char scanf work?

628


Tell me about low level programming languages.

651


What is the use of c language in real life?

542






What are the different types of constants?

651


What happens if a header file is included twice?

610


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

1668


A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler

634


If fflush wont work, what can I use to flush input?

629


The statement, int(*x[]) () what does in indicate?

665


The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

1645


Discuss the function of conditional operator, size of operator and comma operator with examples.

694


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3162


Explain how do you print an address?

670