A virtual function is a member function that you expect to be redefined in derived classes. When you refer to a derived class object using a pointer or a reference to the base class, you can call a virtual function for that object and execute the derived class's version of the function.
How much were Union soldiers paid in the Civil War? Three star general $758 per month, two star general $457 per month, one star general $315 per month. Colonels $212 per month, lieutenant colonels $181 per month, majo â¦ rs $169 per month, captains $115.50 per month, first and second lieutenants $105.50 per month.
There were soldiers of all ages that fought during the war. The average age for the Union Army was around 25 years old. The minimum age to join the army was 18 years old, however, it's thought that many young boys lied about their age and, by the end of the war, there were thousands of soldiers as young as 15 years old.