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 |
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
What is the difference between int main and void main?
develop algorithms to add polynomials (i) in one variable
ABCDCBA ABC CBA AB BA A A
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
What is difference between structure and union in c?
How to set a variable in the environment list?
What is class and object in c?
Can you please explain the difference between strcpy() and memcpy() function?
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 “****”.
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
What is the c language function prototype?