log2+log(1/2)
Explain in detail
Answers
Answered by
0
Answer:
please follow me and make my answer as brainlist
Step-by-step explanation:
the answer is 0
Answered by
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
Social Sciences,
2 months ago
English,
2 months ago
Computer Science,
2 months ago
Science,
5 months ago
Chemistry,
10 months ago
Biology,
10 months ago