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

Is int a keyword in c?

906


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

1023


What is the right type to use for boolean values in c? Is there a standard type?

967


What are c identifiers?

1039


Give the rules for variable declaration?

1114


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

2039


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

3172


What does the error 'Null Pointer Assignment' mean and what causes this error?

1159


How to write a code for reverse of string without using string functions?

2074


pierrot's divisor program using c or c++ code

2169


Explain what is meant by 'bit masking'?

1120


Compare and contrast compilers from interpreters.

1074


What are the types of type specifiers?

983


What are two dimensional arrays alternatively called as?

1133


What does typeof return in c?

1019