Computer Science, asked by divyanshiupadhyay000, 11 months ago

What is the significance of an empty parenthesis in a function declaration.

Answers

Answered by pp6609034
3

Answer:

The empty parentheses in the function declaration indicates the compiler that the block of code you write is a function. ... but what ever the variables you declare inside the pair of parentheses will only be available inside that function and not outside that.

Answered by nitashachadha84
4

Answer:

Hii

Explanation:

The empty parentheses in the function declaration indicates the compiler that the block of code you write is a function.but what ever the variables you declare inside the pair of parentheses will only be available inside that function and not outside that.

I hope it helps you

Similar questions