Math, asked by parthu6157, 1 year ago

b*b == a why take more time than b = A/B in cpp

Answers

Answered by rjgolu
2
ool global;//a global variable //a function int foo(bool x){ //assign the value of x to global //if x is equal to true, return 4 if (global=x) return 4; //otherwise return 3 return 3; }

...which is equivalent to but shorter than:

bool global;//a global variable //a function int foo(bool x){ //assign the value of x to global global=x; //if x is equal to true, return 4 if (global==true) return 4; //otherwise return 3 return 3; }

timelsss: nice
Similar questions