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;
Answers were Sorted based on User's Feedback
Answer / saudip sen
choice d.
Reason:
The macro sign # is not applicable here.
Syntactical error!
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / phanitha
d is the right answer
# should not be present at starting.
Is This Answer Correct ? | 10 Yes | 1 No |
Is null always equal to 0(zero)?
Explain the advantages of using macro in c language?
what is the difference between const volatile int i & volatile const int j;
How can my program discover the complete pathname to the executable from which it was invoked?
To find whether a number is even or odd without using any conditional operator??
12 Answers College School Exams Tests, IBM,
what is the function of pragma directive in c?
without using control structures and control structures find the max and min of given 2 nos
program for swapping two strings by using pointers in c language
What is the difference between functions abs() and fabs()?
why return type of main is not necessary in linux
What is extern storage class in c?
What is the size of enum in bytes?