Computer Science, asked by SHAsaishwahi, 1 year ago

C Expression Equivalent to ++1
What is a C expression equivalent to ++1?

Answers

Answered by yasas
0
equivalent expression for ++1 in "c" is a+=1 
Answered by AskewTronics
0

"int a=1; ++a;"

Explanation:

  • The C language is used ++ as an increment operator, but it is used only with the operand, not with any number.
  • So when any user wants to use the "++1" (which is also known as pre-increment operator) in the c language, then he needs to define a variable and assign the value 1 on it.
  • Then if "++variable_name" will be written to perform the "++1" statement.

Learn More :

  • C-program : https://brainly.in/question/3999878
Similar questions