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
hi any body pls give me company name interview conduct "c" language only
What is extern c used for?
What do you mean by invalid pointer arithmetic?
Explain what is a program flowchart and explain how does it help in writing a program?
What are terms in math?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
Is javascript based on c?
What is a class c rental property?
Is it possible to have a function as a parameter in another function?
What do you mean by Recursion Function?
What is character constants?
What are external variables in c?
What is structure in c explain with example?
How variables are declared in c?
Write a code to generate a series where the next element is the sum of last k terms.