How can I set an array's size at run time?

Answer Posted / suman

by using calloc() or malloc() functions we create at run
time


i think it will be correct if not forgive me

sumankumar..........

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the return type of sizeof?

813


What is c basic?

888


What is memory leak in c?

840


How can I discover how many arguments a function was actually called with?

835


What is array of pointers to string?

796


Explain can you assign a different address to an array tag?

851


What is sizeof c?

847


Can we change the value of static variable in c?

756


What is "Hungarian Notation"?

842


What are the 5 data types?

783


Between macros and functions,which is better to use and why?

1806


What are the types of functions in c?

756


How important is structure in life?

793


What is this pointer in c plus plus?

802


Write a program to show the change in position of a cursor using c

828