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
if a customer's blackberry stopped syncing their calendar wirelessly what would you do?if a customber deleted mail from his blackberry but it did delete from his mailbox how would ypu resolve this
i want to know ,If a five-digit number is input through the keyboard, write a program to calculate the sum of its digits.
briefly explain about your project? please tell me about this answer . my current project is ERP domain web based application.please please help me
Implement the dictionary operations INSERT, DELETE, and SEARCH using singly linked, circular lists. What are the running times of your procedures?
What is the allowable load carrying capacity of a circular column section of 400 mm diameter reinforced with 6x25 mm diameter bars adequately tied with spirals? Consider concrete of grade M25 and steel of grade Fe 415.
Is Diesel staorage tank ( 800 litres) cleaning procedure is available with any body
What is the use of generics? when was it added to jdk?
how to count 4 column with two "and" condition in oracle? e.g task_type and cust_type and service_type are 3 column and we hv to count where task_type="new"and cust_type="jdp" and resulting column name will be new cust with jdp..and also we hv to count where task_type="new"and service_type="fs" resulting column name will be new cust with fs..
what is the need for oobs
Why DG Set manufacturers do not give options for alternative fuels. They even do not allow to change at the cost of custmers.
What is the use of SUN Server
verbal quiz and answers
what is difference between class and object in c++
performance test required for a automatic bank teller?
Write a java program to print the subsets of a string