Question:

C output help quick plz!

by  |  earlier

0 LIKES UnLike

what is the output of this anyone know plz!!!!

12. void F1(int x, int y) {

x=10; y=20;

}

int main() {

int n1=6, n2=8;

F1(n1,n2);

cout<<n1<<" "<<n2;

return 0;

}

 Tags:

   Report

2 ANSWERS


  1. 6 8


  2. 6, 8 because it is pass by value

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions