Yes,u r right.


________________________________
From: John Gaughan <[email protected]>
To: [email protected]
Sent: Tuesday, July 14, 2009 7:38:00 AM
Subject: Re: [c-prog] how real and integer values are stored in C language





manish_m95 wrote:
> a integer value is stored in form of ascii or some thing else ?
> 

Integers are stored in your basic binary representation, not as a 
string. I am not sure what the representation is called, but logically 
it is ones and zeros where each binary digit represents a different 
power of two with an optional sign bit prefixing the whole thing.

> similarly how a floating value (54.3323) is stored in which form ?
> 

IEEE 754 format.

http://en.wikipedia .org/wiki/ IEEE_754

-- 
John Gaughan
http://www.jtgprogr amming.org/


   


      

[Non-text portions of this message have been removed]

Reply via email to