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

A.C func() { pritnf(" in fuction %d",MACRO); } MAIN.c testfunc() { #define MACRO 10 printf("in test function %d", MACRO); } main() { printf("in main %d",MACRO); func(); testfunc(); getch(); }

2 Answers   Wipro,


What is typedef struct in c?

0 Answers  


Why isn't it being handled properly?

0 Answers  


Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

0 Answers   Amazon,


Tell me when would you use a pointer to a function?

0 Answers  






write a program to remove occurrences the word from entered text?

1 Answers  


let's take a code struct FAQ { int a; char b; float c; double d; int a[10]; }*temp; now explain me how the memory will be allocated for the structure FAQ and what address will be in the structure pointer (temp)....................

8 Answers  


Write a code to generate a series where the next element is the sum of last k terms.

0 Answers   Aspiring Minds,


main() { int x=5,y=10,z=0; x=x++ + y++; y=y++ + ++x; z=x++ + ++y; printf("%d%d%d\n",x,y,z); }

1 Answers   CodeChef,


What does stand for?

0 Answers  


What is Function Pointer? Explain with example?

3 Answers  


Is it cc or c in a letter?

0 Answers  


Categories