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

If the size of int data type is two bytes, what is the range of signed int data type?

600


What is #include stdlib h?

625


How are structure passing and returning implemented?

597


How to draw the flowchart for structure programs?

8767


find the sum of two matrices and WAP for it.

643






What does the error message "DGROUP exceeds 64K" mean?

736


pierrot's divisor program using c or c++ code

1737


Explain about C function prototype?

616


Explain how are 16- and 32-bit numbers stored?

790


What is sizeof in c?

578


hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

1420


how to write optimum code to divide a 50 digit number with a 25 digit number??

2762


What is the difference between malloc calloc and realloc in c?

656


What is null character in c?

695


What is an array in c?

600