Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged increment
11
11 votes
2
2 answers
332
332 views
GO Classes DPP | GATE CS | C Programming | Increment Operators
What is the output of the following code?#include <stdio.h int main() { int x = 3, y = 4, z; z = x++ + ++y; printf("%d %d %d", x, y, z); return 0; }$\texttt{4\ 5\ 8}$ $\t...
GO Classes
332
views
asked
Jun 3
Programming in C
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-288
programming-in-c
c-programming
goclasses-c-programming-practice-questions
increment
operators
+
–
0
0 votes
1
answers
1 answer
834
834 views
Increment Operator Paradox
The output of this program comes out to be 0,Why not 1?Because: a=0;will be assigned then a++;So now 0 will be 1; a=1; This freaks me out !!#include <stdio.h>int main(){...
Nandkishor3939
834
views
asked
Jan 13, 2019
Programming in C
programming-in-c
increment
+
–
To see more, click for the
full list of questions
or
popular tags
.