Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the difference between array and linked list in c?

1101


What is the purpose of sprintf?

1085


What is array of structure in c?

1121


how can I convert a string to a number?

1045


Explain what is the difference between #include and #include 'file' ?

982


If the size of int data type is two bytes, what is the range of signed int data type?

994


Can one function call another?

1065


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

3485


What is the use of header files?

1071


What is main function in c?

1034


Ow can I insert or delete a line (or record) in the middle of a file?

972


What is keyword with example?

1023


code for quick sort?

1991


What are the types of bitwise operator?

1066


What is the scope of local variable in c?

1068