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

What is meant by preprocessor in c?

0 Answers  


why we need function pointers?

3 Answers  


write a program to display the array elements in reverse order in c language

16 Answers  


What is the most efficient way to count the number of bits which are set in an integer?

0 Answers  


write a program to sort the elements in a given array in c language

10 Answers   TCS,


how is the examination pattern?

0 Answers   Wipro,


Explain what happens if you free a pointer twice?

0 Answers  


What is volatile, register definition in C

0 Answers   Cognizant,


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database

2 Answers   TCS, Unisys, Webyog,


Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix

0 Answers   CLG,


what would be the output of the follwing struct st { char name[20]; int i; float f; }; main() { struct st emp = {"forum"}; printf("%d %f",emp.i,emp.f); }

4 Answers  


how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?

2 Answers   Patni, TCS,


Categories