Answer Posted / gg
Try this....
main()
{
int a,b;
printf("Enter two integers \n");
scanf("%d%d",&a,&b);
printf("The diff is : %d ",a+(~b+1));
}
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is use of pointer?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
Tell me can the size of an array be declared at runtime?
What is a lookup table in c?
What are different types of operators?
Difference between pass by reference and pass by value?
When we use void main and int main?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
Why should I use standard library functions instead of writing my own?
What is scope rule in c?
What is a char c?
Is there any possibility to create customized header file with c programming language?
What is a program flowchart?
How to Throw some light on the splay trees?