1 Answer - Sort by: Date | Rating
It will print:
7 7
First %d will show 7 because first the printf function will show the variable b, which is 7, and then add 1 to the variable will make it 7+1 = 8
Second %d also show 7 because it first subtract 1 from 8 and save it to variable b and then show it on the screen. Which means that the variable b is now equal to 7.
7 7
First %d will show 7 because first the printf function will show the variable b, which is 7, and then add 1 to the variable will make it 7+1 = 8
Second %d also show 7 because it first subtract 1 from 8 and save it to variable b and then show it on the screen. Which means that the variable b is now equal to 7.
0
0
- Discuss The Relative Advantage Of Centralized And Distributed Databases?
- How Would You Use Derived In A Sentence?
- Can I Browse Web Page By Just Hovering Mouse Over Text Link? How To Browse Website Without Clicking On It?Is There Any Add-on Or Extension In Any Browsers Which Can Browse Web Link By Just Hovering Mouse Cursor For 1- 2 Second Or Moving On It 2 Times
- What Are The Four Types Of System Programs?
- What Does Cdr/cdt Transaction Mean?
- Which Act Had The Highest Number Of Christmas Number Ones?
- Why Do We Have Data Structures?why Not Just Use Arrays In All Programs?
- How Do Accountants Use Databases?
- What The 2 View U Can Use In A Query?
- Write A Program That Takes Two Numbers As Input From The User And Then Display All The Prime?
- What Is The Database Component In Database Application?
- What Does Dal Contain?
- 2. What Are The Phases Of Compiler? Explain The Function Of Each Phase In Brief.
- What Sport Would A Typical Upper Class Member Take Part In?
- Explain The Function Of Each Phase Of Compiler In Brief. Illustrate The Transaction Of The Following Statement On All The Phases Of Compiler – A = B*C+D/E?
- Why Overriding In Java?
- How To Use My Programming Skill In Banking?
- How Do I Manually Program My Audiovox 8910?
- What Are The Syntax Of JAVA Programming Language?
- What Is Structure In C Language?
- What Is For Loop?
- What Is A Loop Arch And Whorl?
- Define The Difference Between Logical And Physical Data Views?
- What Types Of Programming Language Statements Are Likely To Be Translated Into Machine Instructions By A Compiler?
- How Middleware Works Between Client And Server?
- What Is The Output? Main() {int I=3,j; J=i++*i++*i++; Printf("%d",j); }
- What Is Out Of Following Line? Int I=1,j=1; Printf("%d%d%d%d",i++,i--,j++,j--);
- Can You Tell Me What Is The Output Of Following Function Is? Main() { Printf("%%%%"); }
- What Would Be The Output For This In C# Language?
- Which Output Statement Is Used In C++ Language?
- What Is Printf() In C?

New Comment - Comments are editable for 5 min.