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 / 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


Please Help Members By Posting Answers For Below Questions

FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.

1720


What is #define used for in c?

1033


Explain the difference between #include "..." And #include <...> In c?

1001


What is the difference between int main and void main in c?

1118


What is difference between %d and %i in c?

1195


Is it cc or c in a letter?

983


Describe the modifier in c?

1072


How to Throw some light on the splay trees?

1023


What is difference between && and & in c?

1060


What is "Hungarian Notation"?

1050


Differentiate between a for loop and a while loop? What are it uses?

1150


What is the meaning of typedef struct in c?

1021


can we have joblib in a proc ?

2250


Can you please explain the difference between malloc() and calloc() function?

1068


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

1051