Unary operator takes only one argument like i++ or i- (Post increment or post decrement operators for integers) or ++i,--i (Pre increment or pre decrement operators for integers) ,we can not make Unary operator as binary or binary as Unary operator. Page. No. 3/15
In references we give the memory address of the object, due to references we pass values without making the copy. Hence, when we have many values & we want efficiency we use references to avoid copy.
Compiler and interpreter are system software but the difference is that the complier compiles the whole program but the interpreter is complied line by line. Compiler is efficient in performance. page 12-13
The ONLY DIFFERENCES between classes and structures are
classes DEFAULT to having private members. Structures DEFAULT to having public members. These defaults can be changed so classes can be made to work like structures and vice versa.
classes DEFAULT to inheriting privately from base classes. Structures DEFAULT to inheriting public from base classes. These defaults can be changed so classes can be made to work like structures and vice versa.