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

difference of two no's with out using - operator

Answer Posted / arpit

void count()
{
int c=0;
for(i=a;i<=b;i++)
{
c++;
}
return(c);
}

c=b-a :...easy and best .....

Is This Answer Correct ?    10 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1532


What are qualifiers and modifiers c?

1009


How do you view the path?

1129


Do you know what are bitwise shift operators in c programming?

1105


What is meant by realloc()?

1155


What are the advantages and disadvantages of pointers?

1074


Explain how do you list a file’s date and time?

1041


What is atoi and atof in c?

1088


What is graph in c?

1059


What are enums in c?

1208


shorting algorithmS

2256


Can you assign a different address to an array tag?

1175


What are the usage of pointer in c?

1201


What is bubble sort technique in c?

985


Can I initialize unions?

1045