I have a string variable
string pr00("")
and I want to call the method fun1
fun1(demo *dm)
demo defined as follow
typedef struct
{
char pr00[100];
}demo;
is that safe to call this method as
fun1((demo*)pr00);
thanks and BR
See Question&Answers more detail:os