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 prod(a,b)=a*b
main()
{
int x=2;
int y=3;
printf("%d",prod(x+2,y-10)); }

the output of the program is
a.8
b.6
c.7
d.none

Answer Posted / arun raj

It will lead to compilation error..
Note: # define prod(a,b)=a*b
'=' is not allowed with #define

regards,
Arun Raj

Is This Answer Correct ?    19 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the role you expect in software industry?

2154


number of times a digit is present in a number

2039


How can you allocate arrays or structures bigger than 64K?

1149


What is sorting in c plus plus?

980


Does c have enums?

1107


What are data types in c language?

1059


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

1517


Explain the array representation of a binary tree in C.

1234


What is operator promotion?

1078


What are the different file extensions involved when programming in C?

1287


What is the deal on sprintf_s return value?

1139


What is a string?

1124


What is gets() function?

1138


What is the method to save data in stack data structure type?

1092


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1248