Computer Science, asked by rishabh80801, 7 months ago

Which of the following function definition does not return any value?

Answers

Answered by Haruhi22
3

Answer:

If the function is declared as void then it will not return any value.

Answered by bhatiamona
0

Which of the following function definition does not return any value?

A. a function that prints integers from 1 to 100.

B. a function that returns a random integer from 1 to 100.

C. a function that checks whether the current second is an integer from 1 to 100.

D. a function that converts an uppercase letter to lowercase.

The correct answer is :

A. a function that prints integers from 1 to 100.

Explanation :

The function definition that prints integers from 1 to 100 does not return a value. The remaining three function definitions must return some value. A function that returns a single random integer from 1 to 100 returns that value. A function that checks whether the current second is an integer from 1 to 100 also returns a value. A function that converts an uppercase letter to lower case also returns a value. Only a function that prints integers from 1 to 100 does not return a value.

#SPJ3

——————————————————————————————————————

Know something more :

https://brainly.in/question/18161808?msp_srt_exp=4

Coordination acts as the binding force between departments and interest that all action is aimed at achieving the goal of the organization which feature of coordination is discussed here? integrates group efforts.

(a) Coordination

(b) Coordination ensures unity of action

(c) Coordination is a continuous process.

(d) Coordination is an all pervasive function

https://brainly.in/question/33746133?msp_srt_exp=4

Which of the following is not a function of network layer?

(A) Transmission

(B) Routing

(C) Congestion control

(D) None of the mentioned​

Similar questions