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

What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

1386


What is the purpose of ftell?

1036


What is the difference between near, far and huge pointers?

1035


What are pointers? Why are they used?

1116


Can you tell me how to check whether a linked list is circular?

1328


What is the scope of local variable in c?

1049


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3845


which is an algorithm for sorting in a growing Lexicographic order

1749


How to create struct variables?

1046


How can you find out how much memory is available?

1016


Why structure is used in c?

1116


Explain how can I right-justify a string?

996


What is the purpose of 'register' keyword in c language?

980


What are the modifiers available in c programming language?

1177


code for replace tabs with equivalent number of blanks

2102