0 votes 0 votes Programming in C testbook-test-series programming-in-c structure + – Rock asked Mar 25, 2017 edited Mar 11, 2019 by Aditi Singh Rock 352 views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply Rock commented Mar 25, 2017 reply Follow Share option a is wrong bcz they have used [] instead of {} 0 votes 0 votes Akriti sood commented Mar 25, 2017 reply Follow Share #include <stdio.h> struct S{ int i,j; }; void main() { struct S z={.i=0, .j=2}; printf("%d",z.i); } for first option,you can do like this. 0 votes 0 votes Xylene commented Jun 13, 2017 reply Follow Share I think B is also correct. 0 votes 0 votes Please log in or register to add a comment.