What is Other Operator in C With Example

Other Operator in C With Example:


Other Operators Types
OperatorDescriptionExample
sizeof()Returns the size of an variable. sizeof(a), where a is interger, will return 4.
&Returns the address of an variable.&a; will give actaul address of the variable.
*Pointer to a variable.*a; will pointer to a variable.
? :Conditional Expression If Condition is true ? Then value X : Otherwise value Y

Labels: