WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / sudhir
malloc used to static memory allocation &
calloc is used to dyanmic memory allocation
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Define VARIABLE?
What is atoi and atof in c?
What does the error 'Null Pointer Assignment' mean and what causes this error?
Explain what is a stream?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
Explain what is the difference between #include and #include 'file' ?
Define Spanning-Tree Protocol (STP)
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
How can you tell whether two strings are the same?
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
How do you determine the length of a string value that was stored in a variable?
What are the different types of linkage exist in c?
Explain what is output redirection?
Who is the founder of c language?