Page 1 of 1

Question 6 What is the output? const int MAX_LEN = 10; char userStr [MAX_LEN] = "PASS123"; int i; for (i = 0; userStr[i]

Posted: Fri Jul 01, 2022 5:46 am
by answerhappygod
Question 6 What Is The Output Const Int Max Len 10 Char Userstr Max Len Pass123 Int I For I 0 Userstr I 1
Question 6 What Is The Output Const Int Max Len 10 Char Userstr Max Len Pass123 Int I For I 0 Userstr I 1 (63.3 KiB) Viewed 25 times
Question 6 What is the output? const int MAX_LEN = 10; char userStr [MAX_LEN] = "PASS123"; int i; for (i = 0; userStr != '\0'; ++i) {} userStr = tolower(userStr); } O pass123 O Pass123 PASS123 O Error: The string contains a digit that cannot be converted to lowercase