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 are different storage class specifiers in c?

611


In which layer of the network datastructure format change is done

1424


What is function pointer c?

579


Create a simple code fragment that will swap the values of two variables num1 and num2.

800


Define circular linked list.

560






What is the argument of a function in c?

567


Explain what is the difference between functions abs() and fabs()?

611


Why should I use standard library functions instead of writing my own?

665


How can you increase the size of a statically allocated array?

606


A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

1691


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1312


How does pointer work in c?

608


Define C in your own Language.

629


What does != Mean in c?

579


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

614