On Sun, 04 Nov 2007 23:45:38 -0000,
aa*****@gmail.com wrote in
comp.lang.c:
Hi all,
here is the link:-
http://www.programmersheaven.com/art...k/article2.htm
http://www.programmersheaven.com/art...k/article1.htm
Rubbish.
"Consider the data type
* char is 1 byte
* int is 2 byte
* long int 4 byte
* float is 4 byet (sic)
* double is 8 byte
* long double is 10 byte
* pointer is 2 byte "
Doesn't match any compiler I've used the better part of 10 years.
Just about every example on the first page that includes a main()
function defines it with implicit int, illegal under the C standard
for more than 8 years now.
In at least one case, the return type of a function is specified as
"Void". So apparently the code samples have never been compiled and
tested.
--
Jack Klein
Home:
http://JK-Technology.Com
FAQs for
comp.lang.c
http://c-faq.com/
comp.lang.c++
http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html