Course Solutions Uncategorized (Solved) : Outputs Following Statements Assume Statements Embedded Correct Program String Str1 Asu St Q36000230 . . . .

(Solved) : Outputs Following Statements Assume Statements Embedded Correct Program String Str1 Asu St Q36000230 . . . .

 

What are the outputs of the following statements (Assume thatthe statements are embedded in a correct program) stringstr1=”ASU”; string str2=”ASU Tempe”; string str3=”AsU”; cout<0 :the output is grater than 0.

What are the outputs of the following statements (Assume that the statements are embedded in a correct program) string str1 =

1:>0 2:<0 3:>0 4:0 1:<0 2:0 3: <0 4:0 1:0 2:0 3: <0 4:0

What are the outputs of the following statements (Assume that the statements are embedded in a correct program) string str1 =”ASU”; string str2-“ASU Tempe”; string str3=”Asu”. cout<<str1.compare(str2); I/ cout<<str2.compare(str1);2 cout<<str1.compare(str3);I3

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

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

Related Post