+ 1
Explain me pre n post increment n decrement in detail
please help I'm new to JavaScript
3 Answers
+ 3
var num=0;
document.write(num++); // first prints 0 because firstly num has 0, so it prints..later it does operation increment..
document.write(num);//after increment..
document.write(++num);//increments by 1 and then it prints
+ 2
I got it
Bt need a little nore
+ 1
can u please help me again
Hot today
Python — File Handling
2 Votes
Help me
0 Votes
Question is write a c program to print prime numbers up to n and print the largest number in array.
1 Votes
What’s wrong?
2 Votes
Achievements on Sololearn
1 Votes
Queue & dequeued
0 Votes