Kavya TKnowledge Contributor
Identify which of the following are declarations 1 : extern int x; 2 : float square ( float x ) { … } 3 : double pow(double, double);
Identify which of the following are declarations 1 : extern int x; 2 : float square ( float x ) { … } 3 : double pow(double, double);
Expert-Verified Answer
Both 1 and 3 are declarations. double pow(double, double); – is a function prototype declaration.