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

Answer Posted / shruti

that is the main drawback of an array..
u cannot assign memory at run time...

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is a static function?

854


What are the different types of data structures in c?

860


Is there any possibility to create customized header file with c programming language?

835


List the variables are used for writing doubly linked list program.

1822


What do header files do?

822


How are 16- and 32-bit numbers stored?

984


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1020


What is a class c rental property?

859


Once I have used freopen, how can I get the original stdout (or stdin) back?

840


What are the restrictions of a modulus operator?

855


What is the difference between array and pointer?

780


What is dynamic memory allocation?

1069


What functions are used in dynamic memory allocation in c?

801


What is fflush() function?

889


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

1923