given the input 10 B 50 for cinxyz write the output for cout

given the input 10 B 50 for cin>>x>>y>>z, write the output for cout int

x = 1, y =2; char z = ‘*’;

cin >>x>>y>>z

cout << x << “ “<

Solution

The output is 10 0 *

The input validation fails hence we get 0 and there is no effect after those input so we get thier actual values.
10 0 *

given the input 10 B 50 for cin>>x>>y>>z, write the output for cout int x = 1, y =2; char z = ‘*’; cin >>x>>y>>z cout <&l

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site