in Programming in C edited by
385 views
0 votes
0 votes

Any one please let me know if there is any other way to this output? 

in Programming in C edited by
by
385 views

4 Comments

Did you try running the code?
0
0
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
0

@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
0
moved by
You can Easily Solve by Tree Method
0
0

Please log in or register to answer this question.