Posts
 
Reputation
Joined
Last Seen
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
1 Commented Post
0 Endorsements
Ranked #107.79K
~699 People Reached
Favorite Forums
Favorite Tags
c++ x 1
c x 1

1 Posted Topic

Member Avatar for code2cplus

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]

Member Avatar for Assembly Guy
0
699

The End.