answersLogoWhite

0

What is a character array?

Updated: 8/18/2019
User Avatar

Wiki User

14y ago

Best Answer

A character array is list of pointers that point to characters. The way to use an array would depend on the language. Most arrays are 0 indexed meaning they begin at 0.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a character array?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you convert a string into a character array?

A string is, by definition, a character array. No conversion is required.


What is character array?

In other way Character array is called strings.A group of characters can stored in a character array. e.g. char name[] ={'S','A','T','Y','A','\0'};


What character terminates all character array strings?

the character string is terminated by '\0'


How do you clear a character array?

with function memset


How many bytes are occupied by declaring following array of characters?

A single-byte type of array has 1 byte per character; a wide-character array has 2 bytes per character of storage. Without seeing the exact definition it cannot be determined what the actual size of the array would be.


Difference between integer array and character array?

Arrays are basic structures wherein one or more elements exist "side by side" and are of the same "type". An "integer" array is an array whose elements are all of an integer type which has no fractional component. A "character" array is an array which contains nothing but character types. A "floating point" array contains elements that have both an integer and fractional portion. Simply put, they are arrays of particular types.


What is array of string?

An array of strings is usually implemented as an array of character pointers. Each pointer refers to a a null-terminated character array, and can be treated just as if it were a two-dimensional array where the length of each "row" is not fixed length (the null terminator marks the end of each row). The array of character pointers must be allocated in contiguous memory (as must all one-dimensional arrays), however the character arrays they point to need not be allocated contiguously with each other (only the individual one-dimensional character arrays must be contiguous).


How do you convert a character into a string?

A string is, by definition, a character array. No conversion is required.


What is java string?

array of character data type which is terminated by null character


Is string is an object?

No. A string is, by definition, a character array.


Is string an object?

No. A string is, by definition, a character array.


What String of what?

An array of strings is usually implemented as an array of character pointers. Each pointer refers to a a null-terminated character array, and can be treated just as if it were a two-dimensional array where the length of each "row" is not fixed length (the null terminator marks the end of each row). The array of character pointers must be allocated in contiguous memory (as must all one-dimensional arrays), however the character arrays they point to need not be allocated contiguously with each other (only the individual one-dimensional character arrays must be contiguous).