Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #107.41K
~288 People Reached
Favorite Forums
Favorite Tags
Member Avatar for Yahia Farghaly

I am trying to reverse a word using pointers but the problem that the following line cause error:access violation writting location 0x000... *temp = *(n+len); the full code #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<Windows.h> #include<string.h> void re(char *n){ int len = strlen(n); char *temp=NULL; while (len != 0){ *temp = *(n+len); …

Member Avatar for janijani7
0
288