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

How to print "Hi World" without using semi colon?

6 Answers   Infosys,


What is the result main() { char c=-64; int i=-32 unsigned int u =-16; if(c>i){ printf("pass1,"); if(c<u) printf("pass2"); else printf("Fail2");} else printf("Fail1); if(i<u) printf("pass2"); else printf("Fail2") } a)Pass1,Pass2 b)Pass1,Fail2 c)Fail1,Pass2 d)Fail1,Fail2 e)none

9 Answers   IBM,


which is the best site or book for learning C...and i need the content for C..how to get the good programming skills....? can plz suggest me....

2 Answers  


implement OR gate without using any bitwise operator.

1 Answers   Wipro, Alcatel,


What is the value of y in the following code? x=7;y=0; if(x=6) y=7; else y=1;

12 Answers   TCS,






there is two conditions , 1. while using for loop for printing 1 to 50 no's simulteneous 2. while using printf functios for printing 1 to 50 no's simulteneous with or without using variables who will take more time for compiling and execution? explain in details with reason?

1 Answers  


question-how to run a c programme.

6 Answers  


Given an unsigned integer, find if the number is power of 2?

5 Answers  


can we change the default calling convention in c if yes than how.........?

0 Answers   Aptech,


how to write a cprogram yo get output in the form * *** ***** ******* ********* ******* ***** *** *

3 Answers  


why r u join this company? give solid resons.

16 Answers   TCS, IBM, Infosys,


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

0 Answers   Ignou,






Categories