What is the difference between malloc() and realloc()?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• malloc(): Allocates memory.
• realloc(): Resizes an already allocated memory block, preserving existing data if possible.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• malloc(): Allocates memory.
• realloc(): Resizes an already allocated memory block, preserving existing data if possible.
| Is This Answer Correct ? | 0 Yes | 0 No |
An array name contains base address of the array. Can we change the base address of the array?
Write a program to check palindrome number in c programming?
Where can I get an ansi-compatible lint?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
can we have joblib in a proc ?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
Explain what is the stack?
how to find your architecture is LittleEndian or BigEndian?
What is the role of this pointer?
write a c programs to do multiplication of two numbers with out using arithmatic operator ??????????
What are the disadvantages of c language?
What are advantages and disadvantages of recursive calling ?
12 Answers College School Exams Tests, Evolving Systems, HP, Jyoti Ltd, Sage, Wipro,