+ 2

Say, can u type cast Structures in C?

I have usually seen (*(char *)) , (*(int *)) and so on.... What of this (*(struct *))?

25th Sep 2018, 4:33 AM
shashuri Magrease
shashuri Magrease - avatar
2 Answers
+ 2
I see; appreciate the time guys. There's so much i could do with this knowledge.
25th Sep 2018, 7:02 AM
shashuri Magrease
shashuri Magrease - avatar
+ 1
shashuri Magrease plz don't give much importance to user defined data types as it behaves similar to built in data type.😀.. struct type cast can be considered using what you understood for int or char type cast
25th Sep 2018, 5:20 AM
Ketan Lalcheta
Ketan Lalcheta - avatar