Comment on Tutorial - Using malloc() Function in C By Abinaya
Comment Added by : leon
Comment Added at : 2012-05-02 19:00:56
Comment on Tutorial : Using malloc() Function in C By Abinaya
First things first, you might want to use malloc(int size_t).
Second and more important is sizeof(char) gives you the size in bytes of a type, this might change someday, and this way you only need to recompile things out. "read about utf 8 and utf 16"
What sizeof does is actually search the type definition in a table and it sees "hmm this type is declared this way,"
Things get cooler with typedef.
- Data Science
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews
Subscribe to Tutorials
2. Hi, I need the complete working code for sending a
View Tutorial By: prakash at 2010-05-24 09:14:59
6. i manage to download all the 5 part and compile th
View Tutorial By: Selva at 2008-04-09 07:53:09
7. i need to use sms and to creat using java so it is
View Tutorial By: Abdulkerim at 2009-09-07 05:29:15
8. All true, but the 2FA that has been implemented fo
View Tutorial By: Joe Bloggs at 2013-04-22 13:40:24