Tuesday, 18 December 2012

Data Type 'int'




  • Data :-
              The values given to the program to perform various operations on it, is referred to as data.

  • Data Type 'int' :
                  The 'int' stands for integer. An integer is a whole number without decimal part. It may have a positive or a negative value. The numbers 0, 1, 2, 3, ...., and their negatives -1, -2, -3, ....., are example of integers.
                               The 'int' data type is used to store whole values. It takes 2 bytes in memory. The 'int' type variables can store values from  -32768 to 32767 (-215 to 215 -1). If a  value greater then 32767 is assigned to an 'int' type variable then correct value will not be assigned (or fit) in the memory allocated to that variable. This condition is called integer overflow. When overflow occurs, the program continues to run but it produces incorrect result.

7 comments:

  1. Well I am so excited that I have found your post because I have been searching for some information on this for almost three hours! You've helped me a lot indeed and by reading this article I have found many new and useful information about this subject!
    Painters Hendersonville

    ReplyDelete
    Replies
    1. I believe I will become a large follower.Just desire to state your article is hitting. The clarity in your post is easily hitting and i can take for allocated you are a professional on this subject. Visit-http://www.escort-hk.net/.

      Delete
  2. This blog is disseminating valuable information to people who are most concerned of the following issues being targeted by this site. Many certainly will keep coming back to check out updated posts.
    adirondack furniture plans

    ReplyDelete
  3. Excellent read I just passed this onto a colleague who was doing a little research on that. And he actually bought me lunch because I found it for him smile So let me rephrase that: Thanks for lunch!
    homes in san Antonio

    ReplyDelete
  4. Excellent read I just passed this onto a colleague who was doing a little research on that. And he actually bought me lunch because I found it for him smile So let me rephrase that: Thanks for lunch!
    skinny fiber

    ReplyDelete
  5. I think I will become a great follower.Just want to say your article is striking. The clarity in your post is simply striking and i can take for granted you are an expert on this subject.

    carpet cleaning services Encino

    ReplyDelete
  6. I admit I have not been on this blog in a long time however it was joy to find it again. It is such an important topic and ignored by so many even professionals! I thank you for helping to make people more aware of these issues. Just great stuff as per usual!
    bad credit

    ReplyDelete