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

Tell me can the size of an array be declared at runtime?

0 Answers  


progrem to generate the following series 1 12 123 1234 12345

6 Answers   HCL, Wipro,


what will be the output: main(){char ch;int a=10;printf("%d",ch);}

36 Answers   Accenture, TCS, Wipro,


How to use c/c++ code in JAVA

10 Answers   CDAC, IBM, Satyam, Scope International,


A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above

2 Answers   Accenture,


How can I find the day of the week given the date?

0 Answers  


Without using main fn and semicolon,print remainder for a given number in C language

2 Answers  


#include<stdio.h> void main() { int =1; printf("%d%d%d",a++,++a,++a); }

3 Answers   VB,


What are identifiers and keywords in c?

0 Answers  


What is pass by reference in functions?

0 Answers  


do ne body have any idea about the salary for the we r going to have interview. yup .. u got it right ..i m talking abt NIC.

1 Answers  


what is data structure

5 Answers   Maveric, TCS,


Categories