Explain how can a program be made to print the line number where an error occurs?


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

Post New Answer

More C Interview Questions

1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

0 Answers  


define c

6 Answers   HCL, TCS,


How can I recover the file name given an open stream or file descriptor?

0 Answers  


How pointer is benefit for design a data structure algorithm?

2 Answers  


What is a 'null pointer assignment' error?

0 Answers  






Find greatest of two numbers using macro

4 Answers   Bosch, Siemens,


we have a 3litres jug and a 5 litres jug and no measures on them. using these two jugs how can we measure 4 litres of water?

2 Answers   Convergys,


Difference between constant pointer and pointer to a constant.

0 Answers   Huawei,


Explain how to reverse singly link list.

0 Answers  


main() { int l=6; switch(l) { default:l=l+2; case 4:l=4; case 5:l++; break; } printf("%d",l); }

1 Answers  


What is array of pointers to string?

0 Answers  


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

0 Answers  


Categories