Potassium is present on the Earthâs crust in the form of minerals. Main ores having ample amounts of potassium are orthoclase, granite, sylvite, carnallite. Potassium is represented as the symbol K. Its atomic number is 19, and it has an electronic configuration of 4s1.
Constructors (C++) A constructor is a kind of member function that initializes an instance of its class. A constructor has the same name as the class and no return value. A constructor can have any number of parameters and a class may have any number of overloaded constructors.
For example: In this example, class Cylinder has a member object whose type is another class (base 's type is Circle). Because objects of class Circle can only be constructed with a parameter, Cylinder 's constructor needs to call base 's constructor, and the only way to do this is in the member initializer list.lasses are defined using either keyword class or keyword struct, with the following syntax: Where class_name is a valid identifier for the class, object_names is an optional list of names for objects of this class.