A
aki
Hi All ,
I want to assign a unsigned char pointer value to a char array.
as show below:
fun (usigned char *p1, ...)
{
char new[15];
strcpy(new,p1);// Comment on this
printf("value is strins is = %s", new)
}
Could anyone tell me , is it the right way to do it ?
Do it have any side affect.
Thanks in advance.
Aki
I want to assign a unsigned char pointer value to a char array.
as show below:
fun (usigned char *p1, ...)
{
char new[15];
strcpy(new,p1);// Comment on this
printf("value is strins is = %s", new)
}
Could anyone tell me , is it the right way to do it ?
Do it have any side affect.
Thanks in advance.
Aki