Find the fallacy in the following program segment?
int a;
short b;
b=a;
Answer Posted / aman
b=a; is the error line.
possible high value of a can cause an error in b.
data value will go out of limit.
range of int is more than short type.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Which is better field cad/cam in mechanical or film editing/animation is better salary wise?
WAP in Java to print the format A B A B C D E D E
when does the official confirmation or the offer letter for the 2012 selected candidates of HUAWEI will come??
Explain the memory reference and register reference instructions as micor operation.
why we need embedded system
What is the difference between CD-R and CD+R?
What would you like to discuss? Your work-ex or Your Engineering?
what is compiler
successful command to make linux system as router in redhat-+
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 ?
Hello, I need to compare, using a cobol program, two cobol skeletons. I don't know if it is easy to do this or it will be so complicated. I wanna have your opinions. Thanks a lot
what is buffer solution?
i am Ali from Hyderabad,having twice rejected on conference visa(USA),possessing 9 years of teaching experience,my current ielts score is 6 bands and my current age is 34,do suggest me some suitable universities for MBA course in USA,and what are the prospect of getting a visa.
how can i implement a program of polynomial adding,multiplication,through c language???
What is the dewpoint of atmoshperic Air?