• Source
    1. #include <stdio.h>
    2.  
    3. int main(void) {
    4. unsigned char temp[] = "hello";
    5. printf("total nuber of elements in temp %d \n", sizeof(temp)/sizeof(temp[0]));
    6.  
    7. //also remember that name of array gives address of first element.
    8. printf("first element in the array is => %c \n", *temp );
    9. printf("second element in the array is => %c \n", *(temp+1) );
    10. return 0;
    11. }
    12.