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 operator in C language is the '++' (increment), '--' (decrement), '!' (not), '&' (address of), '*' (indirection), '+' (unary plus), '-' (unary minus), and '~' (bitwise NOT) operators. These operators only require one operand to perform their operations.
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.