Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Who invented bcpl language?

1116


What is the use of a ‘’ character?

1026


What are the basic data types associated with c?

1218


How can I open a file so that other programs can update it at the same time?

1126


Explain what’s a signal? Explain what do I use signals for?

1051


write a program to generate address labels using structures?

4517


What is c language and why we use it?

999


what is a constant pointer in C

1091


Can the curly brackets { } be used to enclose a single line of code?

1118


Why enum is used in c?

893


What is the right type to use for boolean values in c? Is there a standard type?

963


Describe static function with its usage?

1151


What is the heap?

1149


In a switch statement, what will happen if a break statement is omitted?

1005


What do you mean by Recursion Function?

1068