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. realy good explanation
View Tutorial          By: pandit at 2009-07-19 11:24:55

2. wow...great MAN
View Tutorial          By: Er Sounderarajan at 2013-03-13 07:29:58

3. meow is simple and awesome
View Tutorial          By: vishnu prasanth at 2013-01-10 10:00:35

4. @All

You need to first keep your .w

View Tutorial          By: Nithya at 2011-08-31 02:27:48

5. THANK YOU.. YO SO HELP ME :D
View Tutorial          By: xgamer at 2015-08-06 06:45:52

6. To the,
sir/mam, i want to do java certific

View Tutorial          By: CERTIFICATION OF JAVA at 2011-03-03 02:27:05

7. the example program that given above for recursion
View Tutorial          By: bharathi at 2012-07-17 09:31:14

8. i could not understood the left & right shift
View Tutorial          By: deepak singhal at 2013-07-10 03:37:44

9. it was very good explanation hope all links give s
View Tutorial          By: ravi at 2010-08-26 10:19:48

10. Easy to understand.good work
View Tutorial          By: Deepika at 2013-12-13 09:33:55