Q. ), '*', sep= '')

  • (A) * abcdef *
  • (B) * abcdef *
  • (C) *abcdef *
  • (D) * abcdef*
πŸ’¬ Discuss
βœ… Correct Answer: (D) * abcdef*
Explanation: padding is done towards the left-hand-side first when the final string is of odd length.

Explanation by: Mr. Dubey
padding is done towards the left-hand-side first when the final string is of odd length.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
384
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate