Tuesday, February 24, 2015

Review of C++ - Random


Solution: The important point here is sizeof(L). Size of long is 4. So L can take values from (0,1,2,3) + 5 Min value of L - 5 Max Value of L - 8 C++PROGRAM 0123456789 So the only possible characters are from P[5] to P[8] = O, G, R, A. So the only possible option is (iii).

No comments:

Post a Comment