Help me out with this code
But why as pointer is second side of array only
A pointer can always be converted to array
@Namanjain123
An array can be converted to a pointer however it doesn’t work the other way around. You need to allocate dynamic memory to a pointer only then can it behave like an array.