Pre And Post Increment In C

[Solved] Pre And Post Increment In C | Perl - Code Explorer | yomemimo.com
Question : pre and post increment in c

Answered by : grieving-grebe-o5t31xb2ihju

<?php
$a = 10;
echo 'Value of $a is :'.$a;
echo '<br />After Pre-increment value of $a ( i.e. ++$a ) is: '.++$a;
$a = 20;
echo '<br />Value of $a is :'.$a;
echo '<br />After Post-increment value of $a ( i.e. $a++ ) is: '.$a++;
$a = 30;
echo '<br />Value of $a is :'.$a;
echo '<br />After Pre-decrement value of $a ( i.e. --$a ) is: '.--$a;
$a = 40;
echo '<br />Value of $a is :'.$a;
echo '<br />After Post-decrement value of $a ( i.e. $a-- ) is: '.$a--;
?>

Source : https://www.google.com/search?q=pre+and+post+increment+in+c&oq=pre+and+&aqs=chrome.2.69i57j0i512l9.7007j0j7&sourceid=chrome&ie=UTF-8 | Last Update : Tue, 25 Jan 22

Answers related to pre and post increment in c

Code Explorer Popular Question For Perl