Control Instructions - Programming

Q1:

What will be the output of the program?
#include<stdio.h>
int main()
{
    int k, num = 30;
    k = (num < 10) ? 100 : 200;
    printf('%d\n', num);
    return 0;
}

A 200

B 30

C 100

D 500

ANS:A - 200

No answer description is available. Let's discuss.