#pragma directive and its uses in c

Posted by sandy101 on Stack Overflow See other posts from Stack Overflow or by sandy101
Published on 2010-04-23T18:50:54Z Indexed on 2010/04/23 18:53 UTC
Read the original article Hit count: 305

Filed under:
|
|

Hello , can anyone tell my what does the #pragma can do in the c language . what are its uses and why the above program is not giving the output 'inside v1'& 'inside v2' in the following program ...

include

void v1(); void v2();

pragma startup v1

pragma exit v2

int main() { printf("inside main\n"); return 0;

} void v1() { printf("inside v1\n");

} void v2() { printf("inside v2\n"); }

i also want to know what a are the uses of the #pragma directive .... plz help

© Stack Overflow or respective owner

Related posts about c

    Related posts about program