.0. Evaluate the following C++ expression where a, b, c are
integers and d, fare floating point numbers. The values are a = 5, b=3
and d= 1.5.
(a) c = (a++) * d + a
Answers
Answered by
1
Answer:
Use Can Write This Code Without Using Class
Like :
#include<iostream.h>
#include<conio.h>
Void Main()
{
int a=5,b=3;
float d=1.5;
double c;
clrscr();
c=(a++)*d+a;
cout<<"\n Expression is:"<<c;
getch();
}
Similar questions