What is the error in the following structure definition?
```
struct A
{
int b;
int c;
}
int main()
{
A x;
// other code
}
```
The terminating semicolon is missing from the definition of struct A. Error messages for this may be clear “Semicolon missing from structure or class definition.” However, one compiler says cryptically, “Too many types in declaration.”
Computer Science & Information Technology
You might also like to view...
Which access control attack is also referred to as masquerading?
A. emanating B. sniffing C. malicious software D. spoofing
Computer Science & Information Technology
Which Windows command is used to release and renew a DHCP IP address?
A) ifconfig B) ipconfig C) route D) dhcp-common
Computer Science & Information Technology