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 far and near in c?
What is an lvalue in c?
What does 3 mean in texting?
What are the types of unary operators?
What is the function of volatile in c language?
How to write a code for reverse of string without using string functions?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
Explain how do you list files in a directory?
What is operator promotion?
Explain what will the preprocessor do for a program?
Is c dynamically typed?
What is the advantage of using #define to declare a constant?
What are reserved words?
Why void is used in c?
Is Exception handling possible in c language?