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 below things valid & where it will be stored in
memory layout ?
static const volatile int i;
register struct { } ;
static register;

Answer Posted / guest

1.static const volatile int i;
is valid cos it is possible to declare a variable with
multiple qualifiers.

2.register struct a{ } ; is invalid but it will be valid
when u doesnt have body of the structure.

ie., struct a;

3.static register int i; is also invalid cos, here
different storage classes are assigned to a single
variable.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between strcpy() and memcpy() function in c programming?

1090


How is pointer initialized in c?

1026


What are the types of data structures in c?

1155


What does. int *x[](); means ?

1070


Explain what is the use of a semicolon (;) at the end of every program statement?

1229


How does selection sort work in c?

1041


Is c weakly typed?

1026


Tell me the use of bit field in c language?

1071


State the difference between realloc and free.

1085


What is the heap?

1221


define string ?

1107


What are c header files?

992


Explain what is #line used for?

1072


How can I recover the file name given an open stream or file descriptor?

1082


Why isn't it being handled properly?

1067