SyntaxFix
Write A Post
Hire A Developer
Questions
char arr[3] = "bo";
The arr takes the memory into the stack segment. which will be automatically free, if arr goes out of scope.