Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Find the fallacy in the following program segment?

int a;
short b;
b=a;



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

Post New Answer

More Engineering AllOther Interview Questions

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.

1 Answers   Meritas,


what is the class of generator A b & c

0 Answers   Ispat,


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

2 Answers   Morgan Stanley,


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?

0 Answers   TCS,


why there is a collision in switch

0 Answers  


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?

1 Answers  


Just a one miniute topics in English?

0 Answers  


what is the formula/ ratio for hollow block? considering to a 40 kgs of portland cement.

0 Answers  


through which part of the woman, wil the food go to foetus?

1 Answers   IOCL,


is the density of water decreases if we go deep into the ocean?

1 Answers  


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.

1 Answers  


How to make shoppingcart appliction using array?and how to unset session variable and when?

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4456)
  • Electrical Engineering Interview Questions Electrical Engineering (16639)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)