1.

Which operator is used to produce a certain number in a specific range?(a) $(b) %(c) modulo operator(d) both % and modulo operatorI have been asked this question in my homework.This interesting question is from Random Numbers topic in chapter Strings, Streams & Numerics in C++ of C++

Answer»

The correct answer is (d) both % and MODULO OPERATOR

The EXPLANATION: In C++, modulo operator is DENOTED by %.



Discussion

No Comment Found

Related InterviewSolutions