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...

#define MAX 3
main()
{
printf("MAX = %d \n",MAX );
#undef MAX
#ifdef MAX
printf("Vector Institute”);
#endif

Answer Posted / poorna

Initially the max is defined so the first statement printf prints max=3,
#undef used to remove all the defined terms.so the max is not defined after this step.
So the if statement became false hence answer is Max=3

Is This Answer Correct ?    27 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does nil mean in c?

1344


How can I do graphics in c?

1070


Explain what is meant by high-order and low-order bytes?

1088


What is function what are the types of function?

1053


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

1165


Is c still used?

1095


#include { printf("Hello"); } how compile time affects when we add additional header file .

1937


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

1115


Why doesn't C support function overloading?

2858


can any one provide me the notes of data structure for ignou cs-62 paper

2230


What are pointers really good for, anyway?

1115


c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

1099


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1577


Why do we need arrays in c?

1204


What is pass by value in c?

1132