Can someone please tell what I am doing wrong with this pointer. I keep getting error message undeclared itdentifier. found int expected point to int.
Code:void Gen2Rand (int*r1p, int*r2p) int r1; //First random number int r2; //Second random number r1 = 2 + rand() % 11; r2 = 2 + rand() % 11; *r1p = r1; *r2p = r2; return (0);