Which of the following statement is correct about the program given below #include<iostream.h> long GetNumber(long int Number) { return --Number; } float GetNumber(int Number) { return ++Number; } int main() { int x = 20; int y = 30; cout<< GetNumber(x) << " "; cout<< GetNumber(y) ; return 0; }

Comments and Answers (2)

Shumbham

Shumbham

please explain answer

Kulwant

Kulwant

need help, explain answer

Avatar

{{SampleComment.userName || "Your Name"}} ~ {{SampleComment.userCity}}

{{SampleComment.commentValue || "Your Answer or Comment goes here...."}}