Is the following code legal?
struct a
{
int x;
struct a b;
}
Answer Posted / raghu
no this code is illegal.
legal one:
struct a
{
int x;
struct a *b;
}
Is This Answer Correct ? | 26 Yes | 7 No |
Post New Answer View All Answers
Define recursion in c.
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
What are the similarities between c and c++?
Explain a pre-processor and its advantages.
Write a program to check palindrome number in c programming?
How does selection sort work in c?
Explain what is wrong with this statement? Myname = ?robin?;
Explain the difference between strcpy() and memcpy() function?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
Why is structure important for a child?
Why shouldn’t I start variable names with underscores?
What is meant by realloc()?
What are the uses of a pointer?
What are pointers?
What are enums in c?