I am looking at some legacy C code.

char * b = (char *)malloc(l+1) ;

If i were to use new operator, it will be declared as

char * b = new b ;

Would that be correct?

Thx
Lawina