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

difference between native and cross compilers

1669


How will you find a duplicate number in a array without negating the nos ?

1639


What does main () mean in c?

611


What is extern keyword in c?

639


Which is an example of a structural homology?

781






Why is c still so popular?

614


What is array within structure?

581


Tell me the use of bit field in c language?

626


What is string in c language?

621


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

739


"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks

652


What is the ANSI C Standard?

775


how can use subset in c program and give more example

1494


Explain pointers in c programming?

630


What is binary tree in c?

617