By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,171 Members | 1,020 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,171 IT Pros & Developers. It's quick & easy.

urgent help me about below question in c++

P: 1
1.Why empty class taking one byte?
2.How to allocate memory though malloc in c++?
Sep 29 '06 #1
Share this Question
Share on Google+
1 Reply

P: 41
1-read here for more informations
2-sample : int *x=(int*)malloc(100*sizeof(int));
Sep 29 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.