Is the below things valid & where it will be stored in
memory layout ?
static const volatile int i;
register struct { } ;
static register;

Answer Posted / sugu

no it is invalid . because volatile means ever changing, but
const means the value wont be changed.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

2557


Where local variables are stored in c?

544


How many levels deep can include files be nested?

638


Explain what does it mean when a pointer is used in an if statement?

605


Describe the difference between = and == symbols in c programming?

760






Why clrscr is used after variable declaration?

1025


Explain what are multibyte characters?

611


How is null defined in c?

637


Explain #pragma statements.

589


What is a pointer value and address in c?

617


any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above

644


Describe newline escape sequence with a sample program?

631


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

620


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

717


What is data structure in c programming?

559