How do you do dynamic memory allocation in C applications?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }

8 Answers   Vector,


what is diff b/w huge & far & near pointer??

1 Answers   HCL,


What does == mean in texting?

0 Answers  


Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.

0 Answers  


What do you understand by normalization of pointers?

0 Answers  






the data type used for unlimited value in c and how to do this program

1 Answers  


Why can't I perform arithmetic on a void* pointer?

0 Answers  


How can I insert or delete a line (or record) in the middle of a file?

0 Answers  


What is || operator and how does it function in a program?

0 Answers  


How can I find out how much free space is available on disk?

0 Answers  


Can I initialize unions?

0 Answers  


Function shall sum members of given one-dimensional array. However, it should sum only members whose number of ones in the binary representation is higher than defined threshold (e.g. if the threshold is 4, number 255 will be counted and 15 will not) - The array length is arbitrary - output the results to the stdout

0 Answers   XYZ,


Categories