void func(void * ptr)
{
bytearray temp(10);
*((bytearray*) ptr ) = temp;
}
This code is not going ahead if the third line while executing while this coding is working fine.
void func(void * ptr)
{
const char * temp = "decept";
*((char*)ptr) = temp[0];
}
Why is it happening? First code is kind of "hanged" at the assigning line. It is not going ahead as Working on eclipse. Please tell how I can solve the problem and why it is happening. Thanks.