πŸ“Š C Programming
Q. Choose right statement
Code:
register float a = 3.14f;
  • (A) Variable a is stored in CPU registers for fast access.
  • (B) Variable a is converted to int and then stored in a CPU register.
  • (C) register Storage Class is ignored and treated as auto float a = 3.14f;
  • (D) You get a compiler error as you can not store non integer value in a CPU register.
πŸ’¬ Discuss
βœ… Correct Answer: (C) register Storage Class is ignored and treated as auto float a = 3.14f;

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
311
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
96%
Success Rate