Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
~885 People Reached
Favorite Forums
Favorite Tags
Member Avatar for Razahcy
Member Avatar for Schol-R-LEA
-1
230
Member Avatar for Razahcy
Member Avatar for Razahcy
Member Avatar for Razahcy
0
154
Member Avatar for ram619

Hello, in this code snippet I am not able to understand line 8 and 10. Here at line 8, char* is getting typecasted as int* then again, getting typecasted as char*. Please explain. #include<stdio.h> int main() { int arr[3] = {2,3,4}; char *p; p = arr; p = (char*)((int*) (p)); …

Member Avatar for Razahcy
0
216