What does the colon signify in a C function?

前端 未结 3 1809
旧巷少年郎
旧巷少年郎 2021-01-26 22:04

What is this use of the colon called?

The following code is taken from the book Learn Core Audio.

    int main(int argc, const char * argv[])
           


        
相关标签:
3条回答
  • 2021-01-26 22:04

    Cleanup is a label. You can use

    goto cleanup;
    

    In your code to redirect your execution from cleanup label.

    0 讨论(0)
  • 2021-01-26 22:08

    cleanup: is a label. It can be used as the target for a goto statement.

    0 讨论(0)
  • 2021-01-26 22:26

    That's a label. It's used along with a goto statement to control the flow of your program.

    goto and Labeled Statements (C)

    0 讨论(0)
提交回复
热议问题