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


c program to subtract between two numbers without using '-'
sign and subtract function.



c program to subtract between two numbers without using '-' sign and subtract function...

Answer / pm

say, x-y
{
for (int i=y;i>=0;i--)
x--;
cout<<x;
}

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C Interview Questions

Hi, main() { } Is a user defined function or Built in Functionn

26 Answers   Honeywell, Yahoo,


Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

0 Answers  


what's the o/p int main(int n, char *argv[]) { char *s= *++argv; puts(s); exit(0); }

1 Answers   Motorola,


An array name contains base address of the array. Can we change the base address of the array?

4 Answers   NMIMS, Wipro,


What is the process to generate random numbers in c programming language?

0 Answers  


Differentiate between a structure and a union.

0 Answers   Zensar,


How do you define CONSTANT in C?

0 Answers   ADP,


int x=5; printf("%d%d%d",x,x<<2,x>>2);

2 Answers   TANCET,


Explain two-dimensional array.

0 Answers  


Write a pro-gramme to determine whether the number is even or odd?

1 Answers  


what is inline function?

2 Answers  


What are the advantages of union?

0 Answers  


Categories