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 / dally

#include<stdio.h>
int main()
{
int a=9,b=4;
if(a>b)
{
while(a--)
b = b--;
}
else
printf("Difference is not possible\n") ;
}

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you declare a variable that will hold string values?

1230


Explain how can I write functions that take a variable number of arguments?

1129


Explain what is meant by 'bit masking'?

1265


Why are all header files not declared in every c program?

1148


How can you access memory located at a certain address?

1162


What is hashing in c?

1210


which is an algorithm for sorting in a growing Lexicographic order

1866


a program that can input number of records and can view it again the record

1959


How can I determine whether a machines byte order is big-endian or little-endian?

1124


What are control structures? What are the different types?

1142


What does *p++ do?

1076


What is #include conio h?

1053


How is = symbol different from == symbol in c programming?

1105


How do you initialize pointer variables?

1148


Why main is used in c?

1128