The following program segment was created by a student. Use it to answer the question that follows.
main()
{
int n;
printf("Enter a number :");
scanf("%d",&n);
printf("the resultant of %d is %d\n", n,cube(n));
}
cube (int k)
{
return(k*k*k);
}
Interpret the program segment.
 Viewed: 532 times For Better experience and learning,for video answers, after video ends playing, click next question in the questions list!!!