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

struct tag{
auto int x;
static int y;
};main()
{
struct tag s;
s.x=4;
s.y=5;
printf(ā€œ%dā€,s.x);
}

Answer Posted / vishal soni

There is errors......
Because auto can't write in structure scope.... It is in functions

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

1259


Explain how can I convert a string to a number?

1104


What is a structure and why it is used?

1229


What is volatile, register definition in C

1109


Who is the founder of c language?

1172


What is the difference between c &c++?

1159


What is volatile variable in c with example?

1046


What is structure padding in c?

1136


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

1128


What is pointer and structure in c?

1188


What is the full form of getch?

1284


What is the use of c language in real life?

1028


Explain what is the benefit of using #define to declare a constant?

1195


What does the message "automatic aggregate intialization is an ansi feature" mean?

1190


How do you generate random numbers in C?

1201