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
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
Why do we use header files in c?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
Explain how can I convert a number to a string?
how to capitalise first letter of each word in a given string?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
What language is c written?
Explain is it better to bitshift a value than to multiply by 2?
What is ambagious result in C? explain with an example.
What is the heap?
What is the usage of the pointer in c?
What is the scope of global variable in c?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
Is anything faster than c?
What is use of #include in c?