Course Solutions Uncategorized (Solved) : First One Right Second One Wrong Q30580193 . . . .

(Solved) : First One Right Second One Wrong Q30580193 . . . .

 

10.16 char getname (char name) cout < Enter your name:; cin.getline (name, 81) return name; 10.17 char getname () char name [81] cout < Enter your name: ; cin.getline (name, 81) return name;

Why is the first one right and the second one wrong?

10.16 char “getname (char name) cout < “Enter your name:”; cin.getline (name, 81) return name; 10.17 char “getname () char name [81] cout < “Enter your name: “; cin.getline (name, 81) return name; Show transcribed image text

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : Fraction Calculator Write Program Lets User Perfo Operations Fractions Fractions Form B B Q37505560 . . . .(Solved) : Fraction Calculator Write Program Lets User Perfo Operations Fractions Fractions Form B B Q37505560 . . . .

<br/><img src="https://media.cheggcdn.com/media%2F52a%2F52a4ec98-a0f7-43fb-993a-e861f4d2cd84%2Fimage.png" alt="Fraction calculator) Write a program that lets the user perfo operations on fractions. Fractions are of the form a/b, in whic" aria-describedby="d3f"/>Fraction calculator) Write a program that lets