0 votes 0 votes Any one please let me know if there is any other way to this output? Programming in C data-structures programming made-easy-test-series doubt + – Sgm asked Dec 28, 2022 • edited Dec 28, 2022 by Sgm Sgm 385 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply gatecse commented Dec 29, 2022 reply Follow Share Did you try running the code? 0 votes 0 votes Sgm commented Dec 29, 2022 reply Follow Share Yes sir getting the same output, my question is how does adding string with a number is working? Here "213" is a string right? Is it anything to do with ascii value because output is big? 0 votes 0 votes TusharKumar commented Dec 30, 2022 reply Follow Share @Sgm as Far as my knowledge, it is getting passed to a pointer of type char and moreover strings are written inside the “ ” irrespective of what you have written all will be treated as a string. for example, if “1w*u%” is passed then it will be counted as a string having characters ‘1’, ’w’, ’*’, ’u’, ‘%’ 0 votes 0 votes deepak_7891 commented Jan 6, 2023 i moved by Shaik Masthan Jan 7, 2023 reply Follow Share You can Easily Solve by Tree Method 0 votes 0 votes Please log in or register to add a comment.