answersLogoWhite

0

AllQ&AStudy Guides
Best answer

There is no such increment operator in C language to increment the value of a variable by 2.An increment operator only increments the value by 1.

however you can apply the increment operator twice to get an increment of

3. No: you cannot: ++(++a) won't compile.

Yes. Example: a += 2; but += is not an increment operator, it's a shorthand of a=a+2; just like a++ is a shorthand for a= a+1

This answer is:
Related answers

There is no such increment operator in C language to increment the value of a variable by 2.An increment operator only increments the value by 1.

however you can apply the increment operator twice to get an increment of

3. No: you cannot: ++(++a) won't compile.

Yes. Example: a += 2; but += is not an increment operator, it's a shorthand of a=a+2; just like a++ is a shorthand for a= a+1

View page

None. They can earn an increment but may not expect anything!

None. They can earn an increment but may not expect anything!

None. They can earn an increment but may not expect anything!

None. They can earn an increment but may not expect anything!

View page

To increment or decrement a value

View page

the smallest increment of time is... miliseconds.

View page

The '+=' operator behaves like a pre increment operator.

View page
Featured study guide

If I didn't do so well during freshmen and sophomore year but receive a 90 or above average for junior year will the good colleges even look more into me

How to enroll in college to get a four year degree

How do you write increment recommendation letter for staff to management

What has the highest likelihood of appearing on a personal statement submitted with a college application

➡️
See all cards
No Reviews
More study guides
No Reviews

5.0
1 Review
Search results