adplus-dvertising
frame-decoration

Question

Which among the following is the correct syntax to declare a static variable register?

a.

static register a;

b.

register static a;

c.

Both static register a; and register static a;

d.

We cannot use static and register together

Posted under C Programming

Answer: (d).We cannot use static and register together

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which among the following is the correct syntax to declare a static variable register?