Answer Posted / vinod
C99 and above supports the conceptof VLA(Variable Length Array) which allows you to set array size based on input during run time. It can also done using dynamic memory allocation.
Example:
int main()
{
int i;
scanf("%d",&i);
int a[i];
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to draw the flowchart for structure programs?
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?
How can I open a file so that other programs can update it at the same time?
How can I invoke another program or command and trap its output?
please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
What is difference between function overloading and operator overloading?
Which built-in library function can be used to match a patter from the string?
What is static volatile in c?
Why pointers are used?
Why double pointer is used in c?
what are non standard function in c
can any one provide me the notes of data structure for ignou cs-62 paper
What is difference between main and void main?
Describe newline escape sequence with a sample program?
How do I swap bytes?