What is #line used for?



What is #line used for?..

Answer / Ashish Kumar Johri

#line is a preprocessor directive used to change the information about the source file and line number that appears in error messages during compilation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is void main () in c?

1 Answers  


Explain is it valid to address one element beyond the end of an array?

1 Answers  


Explain bit masking in c?

1 Answers  


Is sizeof a keyword in c?

1 Answers  


Sir,please help me out with the output of this programme:- #include<stdio.h> #include<conio.h> void main() { int a=18,b=12,i; for(i=a<b?a:b;a%i||b%i;i--); printf("%d %d",i); }

4 Answers  


How to print %d in output

6 Answers   Wipro,


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

0 Answers  


write a program to gat the digt sum of a number (et. 15= >1+5=6)

2 Answers  


define c

6 Answers   HCL, TCS,


if the address of a[1,1] and a[2,1] are 1000 and 1010 respectively and each occupies 2 bytes then the array has been stored in what order?

4 Answers   Amazon, Apple, Bata, Google, NASA,


what is void pointer?

1 Answers   Wipro,


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

1 Answers   Huawei,


Categories