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 DiscussRajasthan States Mines & Minerals Ltd. was established on-
The correct answer is 30 October 1974.
Key Points
Important functions of a database administrator are:
The correct answer is Palash.
Key Points
Important Points
The correct answer is World Wide Web.
Key Points
Additional Information
What is/are the primary objective in using any CASE tool?
I. To increase productivity
II. To help produce better quality software at a lower cost