Question: Given S struct numeric { long a[10]; }; write a C++ function print which, when invoked with a numeric argument, prints the 10 longs in
Given
S struct numeric { long a[10]; };
write a C++ function print which, when invoked with a numeric argument, prints the 10 longs in a one per line but, when invoked with a string argument, simply prints the string.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
