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

Discuss the function of conditional operator, size of operator and comma operator with examples.

1158


Explain the concept and use of type void.

1114


How can I find out how much free space is available on disk?

1057


Explain how are 16- and 32-bit numbers stored?

1267


Differentiate between null and void pointers.

1166


How do you redirect a standard stream?

1106


How do shell structures work?

1112


How do we open a binary file in Read/Write mode in C?

1240


Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

1120


Suggesting that there can be 62 seconds in a minute?

1049


Is this program statement valid? INT = 10.50;

1150


How can I manipulate strings of multibyte characters?

1113


What is the heap?

1218


Can you return null in c?

1167


What is the use of pointers in C?

1080