How does the type cast of cname cause data-type-mismatch


How does the type cast of cname cause Data-Type-Mismatch and what would a more correct Functional Data Structure Type have been?

#include
#include
#include
using namespace std;
//Global Declarations of Variables
double iovertime_hours=0, iovertime, pay=0, iovertime_extra=0;
int ihours, iwage ;
int cname ;
int main ()
{

}

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: How does the type cast of cname cause data-type-mismatch
Reference No:- TGS02538560

Now Priced at $10 (50% Discount)

Recommended (98%)

Rated (4.3/5)