Is there a shorthand for returning conditional integer (error code) in C? That's kinda similar to Go

后端 未结 0 1402
执笔经年
执笔经年 2021-01-03 03:00

Is there a shorthand for returning conditional error code from a function in C? From something like:

int e = 0; // Error         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题