void main()
{

char name[20];

name = "omshanti";

cout << name;

}


In the above program , if we won't initialize name as the type of its definition , why there's compile time error :
cannot convert from 'char [9]' to 'char [20]'.???????

while using other data type such as int , float , double , we can initialize them after defining them .But same is not the case with character string. WHY???????