(The correct answers are marked by green circles (). The answers which might be correct in some sircumstances are marked by white circles ().
x=3.141592635; n=x; Circumference =2*n*R;The code will make Circumference equal to 6R rather than 2*Pi*R.
epsilon=1.0E-6; x=1.0/epsilon; /* determine approximate number of iterations */ n=x; /* determine the number of iterations as an integer value */ for (i=1; i<=n; i++) { ................. }In all cases, using the explicit cast ((int)), alone or in combination with roundoff functions double floor(double) and double ceil(double) of math.h is a more sound option.
class MyClass { void MyClass::myFunction(); /* OK with the compiler */ };It is just unnecessary and I've never seen that anybody would prefer this "full form".