Get Answers to all your Questions

header-bg qa

Rewrite the following C++ code after removing any/all syntactical errors with each correction underlined. Note: Assume all required header files are already being included in the program. #define Equation(p,q) = p+2*q void main() float A=3.2?B=4.1? C=Equation(A,B)? cout<<’Output=’<

Answers (1)

best_answer

void main()

float A=3.2, B=4.1?
floatC=Equation(A,B)?
cout<<”Output=”<<C<<endl?

Posted by

Deependra Verma

View full answer