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
MY QUERY IS REGARDING AS/400. I AM FACING A PROBLEM IN UPDATING A PF COZ IT IS GETTING LOCKED SO I USED CHAIN(N) INSTEAD OF ONLY CHAIN.I ALSO TRIED UPDATE(E) ALONG WITH CHAIN(N),ITS NOT GIVING ANY ERROR BUT AT THE SAME TIME NOT UPDATING THE PF
How we can find out face expression ,what approach should be followed (like skin detection) ?
who is your favourate actor in tollywood tellme about him in few points
Q1 Design a webpage for a hotel which displays all the information of the hotel such as rooms available, facilities, and packages along with rate list. Apply the different tags available to give it a good style.
i have got a gre score of 800 in my first attemt and a score of 1080 in the second and i have repoted both the scores.will it effect my chances of getting good university
Explain power?
reduce the number of key strokes to execute this command : t char -t -v -f/dev/fd0
As a good company employee, can you report your supervisor to the company management if he or she is going against the company interest in his or her actions?
sir now i am studying B.Tech final year so now i am eligible for writing group 1 and 2 or not?
write an algorithm in O(n) time for finding the kth smaalest element form an array of n elements , where n and k are entered by user
i m a student of 4th year ,i m unable to get the embassy appointment dates , and it details.............please help any body.My id=john_searching143@yahoo.com
Differentiate y = sinx + cosx + tanx
hiiiiiiii to all am going to prepare J.T.O (BSNL)posts am studying B.Tech final year cse........ but its all about electronic subjects....so tell me where can i get previous papers? give me some sites plzzzzzz.........
What is meant by relay & co-ordination at substation engineering ?
what is mean by oracle?And how it is used?