Question: I am pretty new to mysql. I have set of csv files which I want to insert into different tables. I have fixed 100 columns for all the files. But, some files contain values only upto 50 column. So I want to insert zero value for all the other columns. Can someone please tell me how to do that.

Answer: 
You can use the ternary or conditional operator. The basic form is:

```
condition ? valueIfTrue : valueIfFalse

```

Example:  

```
const char* x = (SomeFunction() == 0) ? "is null" : "is not null";

```

When `SomeFunction()` returns 0, `x` is initialised with "`is null`", otherwise
with "`is not null`".
What you want to achieve is not possible. The only thing you can do, is to initialize them with a ternary as suggested or move the initialization into a `if` block and leave the declaration out.