+ 3

Can anyone please explain me object pointing methods (pointer and others) and about " ::" < these dots and CONSTANT ..??

plz tell me use of constant,Why we use pointers in objects and what is a method as I AM 14 YRS BOY AND BEGGINER ..SO PLZ HELP ...I WOULD BE GRATEFUL :)

4th Feb 2018, 12:51 PM
Anmol Batra
Anmol Batra - avatar
1 Antwort
+ 4
-> Pointers holds the address of other variables !! ->"::" these are scope resolution operators used to access variables -> Constants are the variables whose values can't be changed -> Use of constant for eg you have to take a variable whose value you think would be unchanged throughout the whole program then you will use constant variable for this .. -> Methods are also known as functions which are small block of codes ..if you require them in your program you don't need to write full codes again and again you only have to call function and the rest will execute automatically !!
4th Feb 2018, 12:59 PM
Rishabh
Rishabh - avatar