Pragyan
This blog is a collection of knowledge of different avenues of computer technology..
Contributors
LK
Thamarai
Thursday, September 15, 2011
Use of __attribute__
void exitnow() __attribute__((noreturn));
int main()
{
int n = 0;
if ( n > 0 )
{
exitnow();
/* control never reaches this point */
}
else
return 0;
}
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)