Null terminated c chars : **1. Which of the following has , a null terminated character is added at the end?**

    int main()
    {
            char arr[]="sample";
            char arr2[6]="sample";
            char arr3[7]="sample";
            char* strarr="sample";  
            char* strarr1=arr;  
            char* strarr2=arr2; 
            char* strarr3=arr3; 
            char* str = arr; 

            return 0;
    }




**2. Would `printf("%s",somestr)` fail incase :**

 - `somestr` is an array of char with no null termination character at end?
 - `somestr` is a `char*` pointing to a continous location of chars with no null termination character at end?


