Sunday 11 January 2009

#pragma warn directive in c programming language

Answer: In c there are many warning messages which can be on or off with help of #pragma warn. Syntax : #pragma warn +xxx #pragma warn –xxx #pragma warn .xxx Where + means on - means off . means on/off (toggle) xxx is indicate particular warning code in thee alphabet e.g rvl is warning code which means function should return a value.   #pragma warn –rvl Int main() { Printf(“It

No comments:

Post a Comment