Answer Posted / geetha
i++ and ++i mean the same thing when they form statements
independently,they behave differently.
for example:
i=5;
d=++i;
in this case the value is i,d =6.bcoz first increment and
next assign the value
i=5;
d=i++;
in this case the value of d=5 and i=6.bcoz first assign the
value next increment and it will be change the value i=6.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Write a function that will take in a phone number and output all possible alphabetical combinations
What Is The Difference Between Null And Void Pointer?
Why C language is a procedural language?
Why is event driven programming or procedural programming, better within specific scenario?
Is stack a keyword in c?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
What do you mean by dynamic memory allocation in c?
How do I read the arrow keys? What about function keys?
Explain what are multidimensional arrays?
how to find binary of number?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
Whats s or c mean?
Is null a keyword in c?
What is the difference between strcpy() and memcpy() function in c programming?
What is #include cctype?