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

vadivel t


{ City } salem
< Country > india
* Profession * student
User No # 123203
Total Questions Posted # 1
Total Answers Posted # 2

Total Answers Posted for My Questions # 0
Total Views for My Questions # 1532

Users Marked my Answers as Correct # 0
Users Marked my Answers as Wrong # 0
Questions / { vadivel t }
Questions Answers Category Views Company eMail

largest Of three Number using without if condition?

C 1532




Answers / { vadivel t }

Question { 2495 }

What will be the output of following program
#include
main()
{
int x,y = 10;
x = y * NULL;
printf("%d",x);
}


Answer

[Error] invalid operands to binary * (have 'int' and 'void *')

Is This Answer Correct ?    0 Yes 0 No

Question { 2153 }

write a c program to find largest of three numbers using simple if only for one time.


Answer

#include
#include
int main()
{
int a,b,c,max;
scanf("%d %d %d",&a,&b,&c);
if (a>b && a>c)
{
printf("%d",a);
}
max=(b>c)&&(c>a)?printf("%d",b):printf("%d",c);
return max;
}

Is This Answer Correct ?    0 Yes 0 No