adplus-dvertising
frame-decoration

Question

What is the difference between setf and setq?

a.

Setq is used for symbols only but setf can be used anywhere

b.

No difference is there

c.

Setf is used only for numbers but setq used anywhere

d.

Setf is for lists and setq for numbers

Answer: (a).Setq is used for symbols only but setf can be used anywhere

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the difference between setf and setq?