scope resolution operator
q. WAP to implement the use of scope resolution operator
output of the program:
back in main
Description about program:
in the above programe firstly we declared globally number to100. Then in the main fuction we firstly define that we are in main then define an integer type number =243 . then inside an another block we again define an integer type number=555. Then if we simply write cout number in side that block it show an output number=555. outside the block if we write cout
Like it on Facebook, +1 on Google, Tweet it or share this article on other bookmarking websites.