Should this C pointer be released?

Posted by rmcc on Stack Overflow See other posts from Stack Overflow or by rmcc
Published on 2010-05-20T15:11:57Z Indexed on 2010/05/20 15:50 UTC
Read the original article Hit count: 106

Filed under:
|

Please excuse my C newbiness.

Consider the following C procedure:

int doSomething() {
    char *numbers="123456";
    ...
}

Before this procedure exits should I be releasing the 'numbers' pointer?

© Stack Overflow or respective owner

Related posts about c

    Related posts about memory