Science, asked by oh9142071, 1 month ago

Which of the following is used to input the entry and give the result in a variable in a procedure?

Select one:
A. Put and get
B. Get and put
C. Out and In
D. In and out

Answers

Answered by RAHULMADARI
0

Explanation:

option D

ADD ME AS BRAINLIEST PLEASE

Answered by Tulsi4890
0

The correct answer is D) In and out.

In and out are commonly used keywords in programming to describe the direction of data flow. Specifically, in refers to data that is being passed into a procedure or function, while out refers to data that is being returned or outputted from the procedure or function.

In the context of a procedure, the In keyword is used to input a value into the procedure, while the Out keyword is used to output a result into a variable. This allows the procedure to take input, perform some computation or manipulation, and then return a result that can be used by the calling code.

In summary, the correct keyword to use for inputting entry and giving the result in a variable in a procedure is In and Out, respectively.

Here are some additional points to consider:

  • The use of In and Out keywords may vary depending on the programming language being used.
  • In some languages, the In keyword may be replaced by other keywords such as Input or Receive.
  • Similarly, the Out keyword may be replaced by other keywords such as Output or Return.
  • When using the In and Out keywords, it is important to ensure that the types of the input and output variables match the expected data types in the procedure.

Therefore, the correct answer is D) In and out.

To learn more about variable from the given link.

https://brainly.in/question/5900756

#SPJ3

Similar questions