Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

QUESTIONARIO

Name: Anonymous 2010-11-06 21:38

question /anus/,
If i pass a variable via it's pointer rather than value am i then not creating any more memory into the program?


#define ANUS     1
int main(){
    char i = ANUS;    //8 bits
    applebees(i);    //2 chars; 16bits
        //vs:
    tgifridays(&i); //1 char;  8 bits
    return 0;
}

void applebees(int i){
    return;
}
void tgifridays(int *i){
    return;
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List