which of the following statements is incorrect
a.typedef struct new{
int n1;
char n2;
} DATA;
b.typedef struct {
int n3;
char *n4;
}ICE;
c.typedef union {
int n5;
float n6;
} UDT;
d.#typedef union {
int n7;
float n8;
} TUDAT;
Answer Posted / saudip sen
choice d.
Reason:
The macro sign # is not applicable here.
Syntactical error!
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What kind of structure is a house?
What does 2n 4c mean?
write an algorithm to display a square matrix.
What the advantages of using Unions?
How can I ensure that integer arithmetic doesnt overflow?
What is a keyword?
where are auto variables stored? What are the characteristics of an auto variable?
What does a function declared as pascal do differently?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
What are the types of arrays in c?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
What is spaghetti programming?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What is the explanation for the dangling pointer in c?