Math, asked by mrnisheet2606, 5 months ago

log2+log(1/2)
Explain in detail

Answers

Answered by koushiKDVR
0

Answer:

please follow me and make my answer as brainlist

Step-by-step explanation:

the answer is 0

Answered by SP85
0

If you don't want to return any values, then declare the function void:

void my_function(int x)

{

// good

}

You do not need to return 0 in every function. For example:

void my_function(int *p_data)

{

*p_data = 5;

}

int main(void)

{

int data = 0;

my_function(&data);

printf("Data: %d", data);

return 0;

}

If a function is declared as returning a type other than void, then it must have a return statement. The only exception to this is the main function, which as of C99, can omit the return statement (when it is omitted, the behaviour is the same as if there was a return 0; statement before the closing } of main).

Similar questions