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 the difference between array and linked list in c?
What is the difference between a string and an array?
Can you write the function prototype, definition and mention the other requirements.
What is typedef?
What 'lex' does?
What is c language & why it is used?
What is the usage of the pointer in c?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
How do c compilers work?
Can we replace the struct function in tree syntax with a union?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
What is %g in c?
How can I use a preprocessorif expression to ?
Explain how can I open a file so that other programs can update it at the same time?
Where define directive used?