adspace


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

write a c program to find the sum of five entered numbers using an array named number

2266


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2743


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1625


How can I implement sets or arrays of bits?

1129


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

2020


`write a program to display the recomended action depends on a color of trafic light using nested if statments

2218


swap 2 numbers without using third variable?

1217


ATM machine and railway reservation class/object diagram

5344


What is dynamic dispatch in c++?

1142


Differentiate between null and void pointers.

1270


What is the general form of a C program?

1107


What are pointers? What are different types of pointers?

1276


What are compound statements?

1301


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2522


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

1364