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
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(); }
What is typedef struct in c?
Why isn't it being handled properly?
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.
Tell me when would you use a pointer to a function?
write a program to remove occurrences the word from entered text?
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)....................
Write a code to generate a series where the next element is the sum of last k terms.
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); }
What does stand for?
What is Function Pointer? Explain with example?
Is it cc or c in a letter?