Find the fallacy in the following program segment?
int a;
short b;
b=a;
Answer / 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 |
ABOUT US We, the Meritas Team, is a group of committed and hardworking professional techies, trainers and business consultants. We create, improvise and adapt the best practices in training industry to help our students to standout in the job market to get placed fast. Once a student joins with us, we impart the best possible technical real-time training. Along with that we give utmost care to groom his/her communication, leadership, interpersonal and language skills. We have a committed team of professional HR professionals to help our students to find their dream jobs as soon as they finish their courses.
what is the class of generator A b & c
At a particular time, the value of a counting semaphore is 10.it will become 7 after (a) 3 v operation (b)3 p operation (c) 5 v operation and 2 p operation (d)13 p operation and 10 v operation
i want to do oracle certification..could any one pleas tell me what is the level 1 certification exam in oracle? how do we get dumps?
why there is a collision in switch
many people believe that only way in which the order of magnitude and improvements in software quality and productivity will be achieved is through component based development.Is this statement true or false?
Just a one miniute topics in English?
what is the formula/ ratio for hollow block? considering to a 40 kgs of portland cement.
through which part of the woman, wil the food go to foetus?
is the density of water decreases if we go deep into the ocean?
a particle moving in a straight line with constant acceleration has a velocity of 8m/s at one instant and 3 seconds later it has a velocity of 2m/s.find its acceleration.
How to make shoppingcart appliction using array?and how to unset session variable and when?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)