Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

Guys need help "" *p+=1 And ++*p Are Equal ""?

8 like 0 dislike
I am doing a Java program but i am not understanding this line can you help me...
asked 1 year ago by lotus$ (42,160 points) edited 1 year ago by lotus$

1 Answer

2 like 0 dislike
 
Best answer
*p+=1 means p=p+1 and it can be written  by using the increment operator: p++,if  p is initially 0 then p++ will be 0,1,2......
but ++p will start from 1 then 2,3,4....
so  i think it also can be written  by using the increment operator: ++p
answered 1 year ago by eagle09 (95,490 points)

Related questions

7 like 0 dislike
1 answer
asked 2 years ago by daneim (127,080 points)
9 like 0 dislike
1 answer
10 like 0 dislike
0 answers
7 like 0 dislike
1 answer
asked 2 years ago by eagle09 (95,490 points)
7 like 0 dislike
1 answer
asked 2 years ago by eagle09 (95,490 points)