Identify each of the following as function call function-00751

Online Quiz This subjective question is related to the book/course vu cs504 Software Engineering - I. It can also be found in vu cs504 Mid Term Solved Past Paper No. 1.

Question 1: Identify each of the following as function call, function definition and function declaration.
int func(int num1, int num2);
int func(int, int);
func(5, 6) ;
int func(int num1, int num2){}
Answer:

int func(int num1, int num2);

  1. Function call: Function;
  2. Function definition: Integer;
  3. Function declaration: Num1 and Num2

int func(int, int);

  1. Function call: Function ;
  2. Function definition: Integer;
  3. Function declaration: integers

func(5, 6) ;

  1. Function call: Function;
  2. Function definition: numbers;
  3. Function declaration: 5 & 6

int func(int num1, int num2){}

  1. Function call: Function ;
  2. Function definition: Integer;
  3. Function declaration: Num1 and Num2

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background