What is the difference between unary operator and function? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between unary operator and function?

As i have learnt that the sizeof() is an unary operator not a function why it is said so? Also what are the characteristics of it because of why we need to describe the difference and what about the gets() and getchar()?

25th Dec 2019, 10:51 AM
Harshit Nema
Harshit Nema - avatar
1 Answer