Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following option is the correct representation of the following C statement?
e = a * b + c / d * f;

Which of the following option is the correct representation of the following C statement?
e = a * b + c / d * f;
a) e = (a * (b +(c /(d * f))));
b) e = ((a * b) + (c / (d * f)));
c) e = ((a * b) + ((c / d)* f));
d) Both e = ((a * b) + (c / (d * f))); and e = ((a * b) + ((c / d)* f));

Answer: d
Explanation: Verified by e = 1 * 2 + 3 / 4 * 5; and then using respective braces according to the option.

Join The Discussion