+ 2

What this means... int x; (char*)&x;

24th Nov 2016, 8:51 PM
ROHAN JOSHI
ROHAN JOSHI - avatar
3 Answers
+ 1
It typecasts the address of any data type to a char pointer.
24th Nov 2016, 9:15 PM
Andreas K
Andreas K - avatar
+ 1
okay then what is the benefit of it?
24th Nov 2016, 9:33 PM
ROHAN JOSHI
ROHAN JOSHI - avatar
+ 1
I am not quite sure. in which case you wanna use it instead of which other code?
24th Nov 2016, 10:42 PM
Andreas K
Andreas K - avatar