What is the output of the below given code?
int y = 9;
y += y+3;
printf("%d",y);
+ = → is an assignment operator
y+ = y+3
y = y + (y + 3)
y = 9 + (9 + 3)
y = 21
Note:
Assignment operator associativity is right to left
What is the output of the below given code?
int y = 9;
y += y+3;
printf("%d",y);
+ = → is an assignment operator
y+ = y+3
y = y + (y + 3)
y = 9 + (9 + 3)
y = 21
Note:
Assignment operator associativity is right to left
No discussions yet. Be the first to start!
You must be logged in to participate in the discussion.
login Login to DiscussAt what level is the "Special Juvenile Police Unit" constituted under the "Juvenile Justice (Care and Protection of Children) Act"?
The correct answer is At the district level.
The correct answer is Mewar.
Key Points
Some important information about Khurram as follows-
| Ruler | Important facts |
| Khurram |
|
Additional Information
The correct answer is World’s tallest waterfall - Tugela Falls.
Key Points
| Waterfall | Country | Height |
| Angel falls | Venezuela | 979 m |
| Tugela Falls | South Africa | 948 m |
| Mattenbachfalle | Switzerland | 930 m |
| Tres Hermanas Falls | Peru | 914 m |
| Olo'upena Falls | United States | 900 m |
| Yumbilla Falls | Peru | 896 m |
Additional Information
The correct answer is the Helium nucleus.
Key Points
CONCEPT:
\(F = \frac{{dp}}{{dt}}\)
Where F = force applied, m = mass of the body, and a = acceleration produced.
EXPLANATION: