What is the output by the following printf()? int i =1, j = 2; i += ++j + i-- * 5/2; printf("%d", j );
What is the output by the following printf()? int i =1, j = 2; i += ++j + i-- * 5/2; printf("%d", j );
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
What is the output by the following printf()?
int i =1, j = 2;
i += ++j + i-- * 5/2;
printf("%d", j );
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)