C function declaration within another function

后端 未结 5 1180
孤城傲影
孤城傲影 2021-01-05 10:49

can anyone explain these lines to me:

int xyz( void )  
{ 
extern void abc( void );
}

a function declaration within a function definition?

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-05 11:29

    Yes your statement is correct.....when we use extern func_name w are are declaring the func_name.

提交回复
热议问题