Chapter - 6: Functions And Pointers

If this a correctly written function:


C
Sections
1
Exercises
int sqr(int a);
{
	return (a*a);
}

Ans: No! Invalid use of semicolon after the function name.

 

© 2021 Garbage Valuegarbage value logo