Answer Posted / vijay zanvar
You can't do that in C. Use dynamic allocation method
to implement array. See Q. 20 and 41 in
http://www.geocities.com/vijoeyz/faq/
Best,
Vijay Zanvar,
Home Page - http://geocities.com/vijoeyz/
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between structs and unions in c?
What do you mean by command line argument?
Why do we use stdio h and conio h?
Explain which function in c can be used to append a string to another string?
Can main () be called recursively?
What does volatile do?
What is the general form of a C program?
Does sprintf put null character?
Can a variable be both constant and volatile?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
How do we declare variables in c?
what are bit fields? What is the use of bit fields in a structure declaration?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
please explain every phase in the "SDLC" in the dotnet.
What are the parts of c program?