generation of broadcasted indexing & expression for C