What type of programming language does this code belong to. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What type of programming language does this code belong to.

struct group_info init_groups = { .usage = ATOMIC_INIT(2) };

25th Jan 2021, 8:30 PM
GeoneveStudios
GeoneveStudios - avatar
2 Answers
+ 1
Most likely C (version c90/c99 and above) because of the designated initializer.
25th Jan 2021, 9:23 PM
Mike A
Mike A - avatar
0
is it C++ C, or C#
25th Jan 2021, 8:32 PM
GeoneveStudios
GeoneveStudios - avatar