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
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