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

In C program, at end of the program we will give as "return 0" and "return 1", what they indicate? Is it mandatory to specify them?

5 Answers  


consider the following program sigment int n,sum=1; switch(n) { case 2:sum=sum+2; case 3:sum*=2; break; default:sum=0;} if n=2, what is the value of sum a.0 b.6 c.3 d.none

7 Answers   TCS,


write a c/c++ programthat connects to a MYSQL server and checks if the INNoDB plug in is installed on it.If so your program should print the total number of disk writes by MYSQL.

0 Answers   BirlaSoft,


How reliable are floating-point comparisons?

0 Answers  


main() { int a[10]; printf("%d",*a+1-*a+3); }

2 Answers  


Write the test cases for checking a variable having value in range -10.0 to +10.0?

0 Answers   Bosch,


Write a factorial program using C.

0 Answers   iNautix,


#include<stdio.h> int main(){ int a[]={1,2,3,5,1}; int *ptr=a+4; int y=ptr-a; printf("%d",y); }

3 Answers   Zoho,


What is the difference between array and pointer?

0 Answers  


a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above

2 Answers   HCL, NBN,


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

0 Answers   TCS,


Why is c called c not d or e?

0 Answers  


Categories