Q.) What is unary operator?
Ans. Unary Operator refers to those kinds of operator In which we use one operator and we increment/decrement the value of that operator using (++/--);
Syntax:-
i++; //i=i+1
Example:
Expected Output Hello World Hello World Hello World ..10 times Hello World
Practical Video:-
sdlkjfaldsjfasdkjfladsjgladsfkl;
We you have any doubt let me know :)