Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C > C FAQs section ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 25777 of 28234
Post > Topic >>

C FAQs section 20.27

by arnuld <NoSpam@[EMAIL PROTECTED] > Apr 22, 2008 at 12:07 AM

This is the question that I need some explanation to understand it:



  Some features of C which keep it from being a strict subset of C++ (that
  is, which keep C programs from necessarily being acceptable to C++
  compilers) are that main may be called recursively, character constants
  are of type int, prototypes are not required, and void * implicitly
  converts to other pointer types.


> main may be called recursively

 anyone has an example ?


 
> character constants are of type int

I learned C++ 1st. This fact was strange for me.


> prototypes are not required


you mean decelerations (e.g of variables and arrays) ? They are also not
required in C++.


> void * implicitly converts to other pointer types.

This was the question already ran in a separate thread started by me and I
got nice answers from the regular posters :)



-- 
http://lispmachine.wordpress.com/
my email ID is at the above address
 




 5 Posts in Topic:
C FAQs section 20.27
arnuld <NoSpam@[EMAIL   2008-04-22 00:07:18 
Re: C FAQs section 20.27
Kenneth Brody <kenbrod  2008-04-21 10:27:55 
Re: C FAQs section 20.27
arnuld <NoSpam@[EMAIL   2008-04-22 21:32:36 
Re: C FAQs section 20.27
Keith Thompson <kst-u@  2008-04-21 09:05:01 
Re: C FAQs section 20.27
Harald van =?UTF-8?b?RMSz  2008-04-22 19:19:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 17:37:47 CST 2008.