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
Why it is a preferable option in parallelextender development ?
how i run the assembly language code
HELLO EVERYONE ON YAHOO , I'M IN NIGERIA AND I Will LIKE TO MOVE AND WORK IN CANADA , ANY SKILLED WORK IS OK BY ME AND THE PERSON WILL PAY THE BILL FOR IT, I WILL SERVE THE PERSON FOR THE EXPENSES.......... LOVE TO READ FROM YOU SOONEST AS YOU WISH TO HELP ME OUT
can u tell me placement peoceduers and placemnt format of hpcl.
why need of new operator in java why not in c++
PLZ SOMEONE TELL ME WHICH TYPE OF QUESTIONS IS ASKED IN HLL(Hindustan latex ltd.)mangmt trainee entrance exam?
i opt cse branch in engineering.which subject i have choose in civil service preliminary examination
What are the fundamental differences between Engineering and Physics?
What is the meaning of "co relation" and what is the value of "co relation" in the performance testing environment.
draw the diagram of double earthing
The old welding machine use electro- -magnetic winding to step up the current for welding rods,what is new principle inside the welding
plz send me interview questions & answers of Data Structure
how can read number 1 to 100,without use anyloop.
while installing jad file to mobile its giving processing attribute MDlet-jar-URL error...how to fix it
I have Job A and Job B in jcl. I want to trigger Job B from Job A. Please advise.