Which one of the following operators is a unary operator in c language?
Question
Which one of the following operators is a unary operator in c language?
Solution
The unary operators in C language include:
- Increment and decrement operators: ++ and --
- Arithmetic operators: + and -
- Logical operators: !
- Bitwise operators: ~
- Address of operator: &
- Dereference operator: *
So, if the options are not provided, any of the above operators can be a correct answer.
Similar Questions
Which one of the following operators is a unary operator in c language? && << & sizeof()
In C programming language, which of the following operator has the highest precedence?Answer areaa) Unary +b) *c) >=d) = =
Understanding Unary operators#include <stdio.h>void main() { int a = 10, b; b = a++ + ++a; printf("%d %d\n", a, b);}What is the a = b =
Which of the following is not a bitwise operator in C?
which operator takes only integers as operands?
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.