Is it possible to have an array of C-strings? Is so, give an example of the declaration.

What will be an ideal response?


Yes, you can create an array of C-strings. It is actually a two-dimensional C-string array. For example, to create an array of 10 C-strings, each 50 chars long, you’d declare it like this:
char text[10][50];

Computer Science & Information Technology

You might also like to view...

To declare a method as static, place the keyword static before ________ in the method’s declaration.

a. the method modifier b. the return type c. the method name d. the argument list

Computer Science & Information Technology

Why would you want to assign quota points to users?

A. to restrict how many VMs they have access to B. to restrict the number of simultaneous running VMs C. to assign the maximum amount of disk space they can use D. to specify how much processing time each VM can use

Computer Science & Information Technology

To qualify for a license of the Oracle Database Standard Edition (SE), there must be at least ____ or more users.

A. two B. five C. seven D. ten

Computer Science & Information Technology

What type of device does a computer turn to first when attempting to make contact with a host with a known IP address on another network?

a. Root server b. Default gateway c. DHCP server d. DNS server

Computer Science & Information Technology