what is the difference between malloc() and calloc() function?
Answer / amritha rose
malloc will allocate memory according to the size we
specified
calloc vil allocate memory as blockwise
and initialize by 0
| Is This Answer Correct ? | 9 Yes | 1 No |
What are the parts of c program?
What is substring in c?
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
Software Interview Questions
What is extern variable in c with example?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
Is javascript written in c?
A woman had somany gloves and hats 22 red,34 blue, 45 white...there was power cut and she took a glove and how many gloves shud she take so that she gets a pair of glove fr each color??
How do you define structure?
Explain what is the heap?
write a statement to display all the elements array M(in reverse order? int M[8]={20,21,22,23,24,25,26,27};
main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }