C
C
Chemodan2282020-02-15 09:55:17
C++ / C#
Chemodan228, 2020-02-15 09:55:17

Does C have a default constructor?

Does C have a default constructor?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Ronald McDonald, 2020-02-15
@Zoominger

C is not an object-oriented language, there are no classes, and, accordingly, constructors.

C
CityCat4, 2020-02-15
@CityCat4

There are no constructors in C, either by default or without. And destructors too :)
Probably it's time to organize a prize named after Dani Jen for the most stupid question :)

V
Vladimir Korotenko, 2020-02-15
@firedragon

No. Read what is a constructor and what is C

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question