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();
}
Answer Posted / venu
MAIN.c
#define MACRO 10
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are qualifiers and modifiers c?
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
What are header files in c programming?
What is #ifdef ? What is its application?
will u please send me the placement papers to my mail???????????????????
Write a program to print fibonacci series using recursion?
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
How many data structures are there in c?
What is abstract data structure in c?
What is a pointer value and address in c?
Difference between linking and loading?
How do you list a file’s date and time?
Why c is called procedure oriented language?
Which header file should you include if you are to develop a function which can accept variable number of arguments?