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

Answers were Sorted based on User's Feedback



Is the below things valid & where it will be stored in memory layout ? static const volatile i..

Answer / 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

Is the below things valid & where it will be stored in memory layout ? static const volatile i..

Answer / suyash(nit c.s. eng)

u may mix const to variable it is not correct

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Interview Questions

What do you mean by recursion in c?

0 Answers  


What is the Lvalue and Rvalue?

2 Answers  


what will be the output of" printf("%d%d",scanf("%d% d",&a&b));"

4 Answers  


Find the middle node in the linked list?? (Note:Do not use for loop, count and count/2)

6 Answers   Subex,


declare afunction pointer to int printf(char *)?

1 Answers   HCL,






Why is c faster?

0 Answers  


When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

0 Answers   TISL,


Difference between MAC vs. IP Addressing

0 Answers  


Write a program to find the given number is odd or even without using any loops(if,for,do,while)

4 Answers   CNC, Gokul,


What is the importance of c in your views?

0 Answers  


write a program to concatenation the string using switch case?

0 Answers  


If null and 0 are equivalent as null pointer constants, which should I use?

0 Answers  


Categories