New course! Every coder should learn Generative AI!
Try a free lesson+ 1
What do you mean by develop a function?
To create a function, first give it a return type. Then give your function a name. Then give your function parameters (optional).
int sum(int a, int b)
{
//code for the function
}