3 Reputation Points
Ranked #4K
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #107.79K
1 Posted Topic
Guys, in strict C code you cant do [icode] char *a = "hai";[/icode] without first allocating the necessary memory for it. Either use malloc function, or change the line to : [icode] char a[3] = "hai";[/icode]
The End.
Solicko