How do declare an array? |
We can declare an array by specify its data type, name and the number of elements the array holds between square brackets immediately following the array name. ex |
Can we access array using pointer in C language? |
Yes, by holding the base address of array into pointer, we can access the array using pointer. |
What is a string? How do you know its length? |
In C, a string is a character array which is terminated by a null character (‘ |