Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does a comma separated list of values, enclosed in parenthesis mean in C? a = (1, 2, 3); [duplicate]

Tags:

People also ask

What is a comma-separated list of values?

A comma-separated values (CSV) file is a delimited text file that uses a comma to separate values. Each line of the file is a data record. Each record consists of one or more fields, separated by commas. The use of the comma as a field separator is the source of the name for this file format.


I've just come across code that essentially does the following:

int a = (1, 2, 3);

I've never seen this notation before. What does it mean?