The fields in a structure of a c program are by default 1. protected 2. public 3. private 4. can't say

Questions by Rujul   answers by Rujul

Showing Answers 1 - 5 of 5 Answers

div_han

  • Mar 13th, 2007
 

By defalt the members of a structure are public

  Was this answer useful?  Yes

jintojos

  • Jun 10th, 2008
 

In c language there is no modifiers like protected,public,private......these modifiers are in c++ language.......
In c language the structure fields are public by default that is they can used by any structre instance variabes....

  Was this answer useful?  Yes

Irfan ganie

  • Sep 17th, 2018
 

Private

  Was this answer useful?  Yes

Sunny kumar

  • Sep 14th, 2019
 

Private

  Was this answer useful?  Yes

Prwtik

  • Dec 24th, 2020
 

Private

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.