Q. where is the below variables stored ?
- volatile, static, register

Answer Posted / banavathvishnu

Qualifier Storage
========= ========

1. static Data area

2. register CPU register, if CPU register are
busy with some other work, it will be treated as local and
will be stored on stack

3. Volatile is just a qualifier it does not change the
storage class, if it defined volatile var as global it will
be stored in data area, and if it defined in a funciton it
will be stored in stack.

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what does the format %10.2 mean when included in a printf statement?

1120


what is uses of .net

1464


what are bit fields in c?

1188


What are logical errors and how does it differ from syntax errors?

919


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

882


What does %d do?

958


What is pointer to pointer in c with example?

747


What is meant by recursion?

832


What tq means in chat?

839


a program that can input number of records and can view it again the record

1697


write a program to create a sparse matrix using dynamic memory allocation.

4620


What is difference between structure and union?

861


What are the properties of union in c?

808


Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.

2934


Explain low-order bytes.

814