No products in the cart.

What are arguments? What are parameters?How …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

What are arguments? What are parameters?How are these two terms different yet related?Give example
  • 1 answers

Meghna Thapar 4 years, 5 months ago

A parameter is a variable in a method definition. When a method is called, the arguments are the data you pass into the method's parameters. Parameter is variable in the declaration of function. Argument is the actual value of this variable that gets passed to function. The value passed with the function calling statement is called the argument, and the parameter would be the variable which copies the value in the function definition (called as formal parameter). Arguments are the actual values that are passed in when the method is invoked.

http://mycbseguide.com/examin8/

Related Questions

What is mean by buffering in file handling?
  • 1 answers
What are called tokens
  • 2 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App