CJCoding With Joseph

Compare Two Struct Fields

A Pair struct with int fields a and b is defined and initialized in main. Print 'Equal' if the two fields are equal, otherwise 'Not equal'.

For the given data {7, 7} this prints: Equal

Expected Output:

Equal
Topics:
Structs
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (p, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.