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
What are different storage class specifiers in c?
In which layer of the network datastructure format change is done
What is function pointer c?
Create a simple code fragment that will swap the values of two variables num1 and num2.
Define circular linked list.
What is the argument of a function in c?
Explain what is the difference between functions abs() and fabs()?
Why should I use standard library functions instead of writing my own?
How can you increase the size of a statically allocated array?
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
why programs in c are running with out #include
How does pointer work in c?
Define C in your own Language.
What does != Mean in c?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler