Computer Science, asked by fazalfarsana09, 9 months ago

consider the given structure definition
strict complex
{
int real ;
int imag;
};
a) write a c++ statement to create a structure variable.
b) write a c++ statement to store the value 15 to the structure member real ​

Answers

Answered by swetavsavarn
4

Explanation:

structure variable

strict complex

{

int real ;

int imag;

}s;

s.real=0;

to store value 15

strict complex

{

int real ;

int imag;

}s;

s.real=15;

Similar questions