While browsing through some codes, i came across this method of initialization:
#include<stdio.h>
struct trial{
int x, y;
};
int main(){
int a[10] = {0,1, };//comma here
struct trial z = {1, };//comma here
return 0;
}
What is the significance of this comma operator? I do not find any difference in the method of initialization if the comma operator is removed.