Explain how can a program be made to print the name of a source file where an error occurs?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

write a program to count the no of repaeted words in a line?

1 Answers  


what is op? for(c=0;c=1000;c++) printf("%c",c);

21 Answers   Trigent,


struct ptr { int a; char b; int *p; }abc; what is d sizeof structure without using "sizeof" operator??

9 Answers   Verifone,


how to make program without <> in library.

1 Answers   ADITI,


what will be maximum number of comparisons when number of elements are given?

0 Answers  






How can I check whether a file exists? I want to warn the user if a requested input file is missing.

0 Answers  


What is formal argument?

0 Answers  


main() { int x=2, y=4 if ((x==2||y==4) x++ y++ if (y==4+1) { x=x+y; } y++; printf("The values of x and y are %d and %d."x,y); } What is the output?

5 Answers   TCS,


why we need function pointers?

3 Answers  


Study the Following Points: a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static 1. Which of the Following Statements are true w.r.t Bit- Fields A)a,b&c B)Only a & b C)Only c D)All

3 Answers   Accenture,


When should the const modifier be used?

0 Answers  


whats the use of header file in c?

2 Answers  


Categories