Is the following code legal?
struct a
{
int x;
struct a b;
}
Answer Posted / preeti
no. It is illegal ..
Struct shd be ended by a semi colon ..
struct a
{
int x;
struct a b;
};
Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What are the 4 types of unions?
What is %lu in c?
What is mean by data types in c?
List the variables are used for writing doubly linked list program.
What are header files and explain what are its uses in c programming?
What is the difference between array and structure in c?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
How do you redirect a standard stream?
Did c have any year 2000 problems?
What do you mean by command line argument?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
What is openmp in c?
How many levels of indirection in pointers can you have in a single declaration?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
What is pointer to pointer in c?