A) struct TwoVals
{
int a, b;
};
int main()
TwoVals.a = 10;
TwoVals.b = 20;
return 0;
}
B) #include
using namespace std;
struct ThreeVals
int a, b, c;
void ThreeVals()
{a = 1; b = 2; c = 3;}
ThreeVals vals;
cout <>
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here