Comment on Tutorial - Using malloc() Function in C By Abinaya



Comment Added by : URS

Comment Added at : 2011-08-24 12:32:55

Comment on Tutorial : Using malloc() Function in C By Abinaya
char *s;
s=(char *) melloc(sizeof(char)*3);

whts the need of siseof() function there, when we know the size of char is 1. can i write like this melloc(1*3);


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Hello, Can you please send me the complete code to
View Tutorial          By: koksingh at 2008-01-15 00:22:40

2. thank you.
View Tutorial          By: lluulnw at 2014-11-22 12:39:35

3. thank you
well explained

View Tutorial          By: Alexandre Ogrodovski at 2012-12-10 21:13:37

4. Thnx.. it was clearly explained... tomorrow i have
View Tutorial          By: Susmitha Sen at 2012-03-25 09:34:29

5. Good Work ...
View Tutorial          By: Sagan at 2013-08-13 13:38:30

6. sir needed help i am compiler dev c++ which shown
View Tutorial          By: shahab at 2010-05-05 13:17:53

7. GOOD FOR BIGGENERS
View Tutorial          By: naresh at 2012-08-04 11:19:03

8. Seems to be the best tutorial on this topic. At le
View Tutorial          By: Bob Nickson at 2008-08-26 02:50:29

9. Thank You So Much ^,^
I get rid of that err

View Tutorial          By: moji junk at 2009-02-24 07:48:19

10. Wow Its awesome.
Thank you for giving such

View Tutorial          By: sukumar maji at 2010-07-25 12:47:30