cg shader assign float to float3

What is the result of assigning a float to float3?

eg

float a = 1;
float3 v = a;

Is it (1, 1, 1);

Yes.