Hi,
I want a char array to point the memory location, which is pointed by a char pointer, without memcpy. I mean I do not need to copy all the elements again to another location
typedef struct
{
long size;
char data[1000];
}bulk;
bulk blob;
this doesn't work :
blob.data = (char *) ucBufrMessage;
it says;
error: incompatible types in assignment
Note : ucBufrMessage is an unsigned char pointer, pointing to a memory location which is full of assigned values.