What will be the output of the following program :
void main()
{
int a,b,c;
scanf("%1d %2d %3d",&a,&b,&c);
printf("Sum=%d",a+b+c);
}
[NOTE : THE USER INPUT IS :123456 44 544]
(a)Sum=480 (b)Sum=594 (c)Sum=589 (d)None of these
Answer Posted / sanchit
none of these
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
if we give you the job AS A PETROLEUM ENGINEER WHAT WILL YOU DO(that is extraordinary) for our company
Write the fetch cycle and execute cycle for following instructions:JMPNZ (jump to the given address if the accumulator not equal to zero) RET(return from a subroutine) ADB (add the contents of register B to the accumulator and save result in the accumulator).
I am helping a friend to design a concert hall. No need for super architectural show off. Just a rectangular box. Knowing that in my country constructions are done with reinforced concrete and concrete blocks and that the hall's dimensions are, length: 75 meters, width: 32m height: 9m, and that there should not be any columns inside, what would be the size of the columns, beams and roof slab ?
what are the various technique used for inter process communication?
what is 16 bit processor and what is 32 bit processor?how can we differentiate and identify or find that ?How they access data?
I'm currently placed in Lahore Pakistan. where can i do Microsoft certification. let me know the best place to do.?
hai iam selected in po exam in allahabad bank . my interview date is 02-06-2009. so plese send me some sample question on my email. my email is nitinbikhani@yahoo.com
how many protocols are available and what are they?
difference between a for loop and a while loop? what are its uses in c language?
write a program to reverse a string using recursive function without using str functions.
where is the first vidhyalaya of physically handicaped
how strcpy usingrecursive function
A rectangular sheet dimensions a x b is to be made into an open-topped box by cutting a square of side h from each corner and folding the 4 sides up. Find the value of h which allows the maximum volume of the box?
Suppose that, even unrealistically, we are to search a list of 700 million items using Binary Search, Recursion (the algorithm given in class). What is the maximum number of comparisons that this algorithm must perform before finding a given item or concluding that it is not in the list?
I have failed my intermediate can i write entrance exam the next year after completing my backlogs