SlideShare a Scribd company logo
1 of 1
Download to read offline
What is output?
#include
typedef struct Data_struct {
int ID;
char type[8];
} Data;
int main(void) {
const int NUM_DATA = 2;
Data idData [NUM_DATA];
int i;
idData[O]. ID = 0;
strepy(idData[0]. type, "Public");
idData [1].ID = 1;
strpy(idData[1]. type,
"Private");
printf("Total data: %d", NUM_DATA);
for (i = 0; i < NUM_DATA; +i) {
printf(" ID: %d', idData[i]. ID);
printf(" type %5"
", idData [i] . type);
}
return 0;
}
Total data: 2 ID: 1 type: Private ID: O type: Public
O Total data: 4 ID: 1 type: Private ID: 0 Type: Public

More Related Content

More from amirajsharma

What are the most important issues that an HR team needs to consider.pdf
What are the most important issues that an HR team needs to consider.pdfWhat are the most important issues that an HR team needs to consider.pdf
What are the most important issues that an HR team needs to consider.pdfamirajsharma
 
what if i di t have a partner - Create your own publicprivate keys.pdf
what if i di t have a partner  - Create your own publicprivate keys.pdfwhat if i di t have a partner  - Create your own publicprivate keys.pdf
what if i di t have a partner - Create your own publicprivate keys.pdfamirajsharma
 
What financial statement would you find the following Limited use.pdf
What financial statement would you find the following Limited use.pdfWhat financial statement would you find the following Limited use.pdf
What financial statement would you find the following Limited use.pdfamirajsharma
 
What does compile-time type checking do [6 marks] a. Allow a sing.pdf
What does compile-time type checking do [6 marks] a. Allow a sing.pdfWhat does compile-time type checking do [6 marks] a. Allow a sing.pdf
What does compile-time type checking do [6 marks] a. Allow a sing.pdfamirajsharma
 
What does HSAM stand forWhat is the range of memory.pdf
What does HSAM stand forWhat is the range of memory.pdfWhat does HSAM stand forWhat is the range of memory.pdf
What does HSAM stand forWhat is the range of memory.pdfamirajsharma
 
What enterprise application integration and Web services are How th.pdf
What enterprise application integration and Web services are How th.pdfWhat enterprise application integration and Web services are How th.pdf
What enterprise application integration and Web services are How th.pdfamirajsharma
 
What does ln greater or equal to ft (LL-1 right) mean[lnft(L1L�rig.pdf
What does ln greater or equal to ft (LL-1 right) mean[lnft(L1L�rig.pdfWhat does ln greater or equal to ft (LL-1 right) mean[lnft(L1L�rig.pdf
What does ln greater or equal to ft (LL-1 right) mean[lnft(L1L�rig.pdfamirajsharma
 
Web Server Python Assignment You will develop a web server that ha.pdf
Web Server Python Assignment You will develop a web server that ha.pdfWeb Server Python Assignment You will develop a web server that ha.pdf
Web Server Python Assignment You will develop a web server that ha.pdfamirajsharma
 
What could be the reason for a very faint colorimetric result in two.pdf
What could be the reason for a very faint colorimetric result in two.pdfWhat could be the reason for a very faint colorimetric result in two.pdf
What could be the reason for a very faint colorimetric result in two.pdfamirajsharma
 
What complication arises in degrees of freedom What distribution .pdf
What complication arises in degrees of freedom What distribution .pdfWhat complication arises in degrees of freedom What distribution .pdf
What complication arises in degrees of freedom What distribution .pdfamirajsharma
 
What are the implications of the authors findings How can this info.pdf
What are the implications of the authors findings How can this info.pdfWhat are the implications of the authors findings How can this info.pdf
What are the implications of the authors findings How can this info.pdfamirajsharma
 
What are the strongest arguments for considering fraternal twins wit.pdf
What are the strongest arguments for considering fraternal twins wit.pdfWhat are the strongest arguments for considering fraternal twins wit.pdf
What are the strongest arguments for considering fraternal twins wit.pdfamirajsharma
 
What are the arguments for and against giving money to the people of.pdf
What are the arguments for and against giving money to the people of.pdfWhat are the arguments for and against giving money to the people of.pdf
What are the arguments for and against giving money to the people of.pdfamirajsharma
 
What are the components of health-related physical fitness Select o.pdf
What are the components of health-related physical fitness Select o.pdfWhat are the components of health-related physical fitness Select o.pdf
What are the components of health-related physical fitness Select o.pdfamirajsharma
 
what am i gettingTrying to find account number. but it gives me.pdf
what am i gettingTrying to find account number. but it gives me.pdfwhat am i gettingTrying to find account number. but it gives me.pdf
what am i gettingTrying to find account number. but it gives me.pdfamirajsharma
 
Wendy es una gerente de proyectos a gran escala. Puede dividir un pr.pdf
Wendy es una gerente de proyectos a gran escala. Puede dividir un pr.pdfWendy es una gerente de proyectos a gran escala. Puede dividir un pr.pdf
Wendy es una gerente de proyectos a gran escala. Puede dividir un pr.pdfamirajsharma
 
When facing the budget x1 + 4x2 = 22, Jennas optimal bundle was (14.pdf
When facing the budget x1 + 4x2 = 22, Jennas optimal bundle was (14.pdfWhen facing the budget x1 + 4x2 = 22, Jennas optimal bundle was (14.pdf
When facing the budget x1 + 4x2 = 22, Jennas optimal bundle was (14.pdfamirajsharma
 
Weather Symbols On the next page you�ll find weather symbols for sig.pdf
Weather Symbols On the next page you�ll find weather symbols for sig.pdfWeather Symbols On the next page you�ll find weather symbols for sig.pdf
Weather Symbols On the next page you�ll find weather symbols for sig.pdfamirajsharma
 
When corporations file for bankruptcy assets are distributed to inve.pdf
When corporations file for bankruptcy assets are distributed to inve.pdfWhen corporations file for bankruptcy assets are distributed to inve.pdf
When corporations file for bankruptcy assets are distributed to inve.pdfamirajsharma
 
When configuring Oracle Virtual Box, the system is non responsive an.pdf
When configuring Oracle Virtual Box, the system is non responsive an.pdfWhen configuring Oracle Virtual Box, the system is non responsive an.pdf
When configuring Oracle Virtual Box, the system is non responsive an.pdfamirajsharma
 

More from amirajsharma (20)

What are the most important issues that an HR team needs to consider.pdf
What are the most important issues that an HR team needs to consider.pdfWhat are the most important issues that an HR team needs to consider.pdf
What are the most important issues that an HR team needs to consider.pdf
 
what if i di t have a partner - Create your own publicprivate keys.pdf
what if i di t have a partner  - Create your own publicprivate keys.pdfwhat if i di t have a partner  - Create your own publicprivate keys.pdf
what if i di t have a partner - Create your own publicprivate keys.pdf
 
What financial statement would you find the following Limited use.pdf
What financial statement would you find the following Limited use.pdfWhat financial statement would you find the following Limited use.pdf
What financial statement would you find the following Limited use.pdf
 
What does compile-time type checking do [6 marks] a. Allow a sing.pdf
What does compile-time type checking do [6 marks] a. Allow a sing.pdfWhat does compile-time type checking do [6 marks] a. Allow a sing.pdf
What does compile-time type checking do [6 marks] a. Allow a sing.pdf
 
What does HSAM stand forWhat is the range of memory.pdf
What does HSAM stand forWhat is the range of memory.pdfWhat does HSAM stand forWhat is the range of memory.pdf
What does HSAM stand forWhat is the range of memory.pdf
 
What enterprise application integration and Web services are How th.pdf
What enterprise application integration and Web services are How th.pdfWhat enterprise application integration and Web services are How th.pdf
What enterprise application integration and Web services are How th.pdf
 
What does ln greater or equal to ft (LL-1 right) mean[lnft(L1L�rig.pdf
What does ln greater or equal to ft (LL-1 right) mean[lnft(L1L�rig.pdfWhat does ln greater or equal to ft (LL-1 right) mean[lnft(L1L�rig.pdf
What does ln greater or equal to ft (LL-1 right) mean[lnft(L1L�rig.pdf
 
Web Server Python Assignment You will develop a web server that ha.pdf
Web Server Python Assignment You will develop a web server that ha.pdfWeb Server Python Assignment You will develop a web server that ha.pdf
Web Server Python Assignment You will develop a web server that ha.pdf
 
What could be the reason for a very faint colorimetric result in two.pdf
What could be the reason for a very faint colorimetric result in two.pdfWhat could be the reason for a very faint colorimetric result in two.pdf
What could be the reason for a very faint colorimetric result in two.pdf
 
What complication arises in degrees of freedom What distribution .pdf
What complication arises in degrees of freedom What distribution .pdfWhat complication arises in degrees of freedom What distribution .pdf
What complication arises in degrees of freedom What distribution .pdf
 
What are the implications of the authors findings How can this info.pdf
What are the implications of the authors findings How can this info.pdfWhat are the implications of the authors findings How can this info.pdf
What are the implications of the authors findings How can this info.pdf
 
What are the strongest arguments for considering fraternal twins wit.pdf
What are the strongest arguments for considering fraternal twins wit.pdfWhat are the strongest arguments for considering fraternal twins wit.pdf
What are the strongest arguments for considering fraternal twins wit.pdf
 
What are the arguments for and against giving money to the people of.pdf
What are the arguments for and against giving money to the people of.pdfWhat are the arguments for and against giving money to the people of.pdf
What are the arguments for and against giving money to the people of.pdf
 
What are the components of health-related physical fitness Select o.pdf
What are the components of health-related physical fitness Select o.pdfWhat are the components of health-related physical fitness Select o.pdf
What are the components of health-related physical fitness Select o.pdf
 
what am i gettingTrying to find account number. but it gives me.pdf
what am i gettingTrying to find account number. but it gives me.pdfwhat am i gettingTrying to find account number. but it gives me.pdf
what am i gettingTrying to find account number. but it gives me.pdf
 
Wendy es una gerente de proyectos a gran escala. Puede dividir un pr.pdf
Wendy es una gerente de proyectos a gran escala. Puede dividir un pr.pdfWendy es una gerente de proyectos a gran escala. Puede dividir un pr.pdf
Wendy es una gerente de proyectos a gran escala. Puede dividir un pr.pdf
 
When facing the budget x1 + 4x2 = 22, Jennas optimal bundle was (14.pdf
When facing the budget x1 + 4x2 = 22, Jennas optimal bundle was (14.pdfWhen facing the budget x1 + 4x2 = 22, Jennas optimal bundle was (14.pdf
When facing the budget x1 + 4x2 = 22, Jennas optimal bundle was (14.pdf
 
Weather Symbols On the next page you�ll find weather symbols for sig.pdf
Weather Symbols On the next page you�ll find weather symbols for sig.pdfWeather Symbols On the next page you�ll find weather symbols for sig.pdf
Weather Symbols On the next page you�ll find weather symbols for sig.pdf
 
When corporations file for bankruptcy assets are distributed to inve.pdf
When corporations file for bankruptcy assets are distributed to inve.pdfWhen corporations file for bankruptcy assets are distributed to inve.pdf
When corporations file for bankruptcy assets are distributed to inve.pdf
 
When configuring Oracle Virtual Box, the system is non responsive an.pdf
When configuring Oracle Virtual Box, the system is non responsive an.pdfWhen configuring Oracle Virtual Box, the system is non responsive an.pdf
When configuring Oracle Virtual Box, the system is non responsive an.pdf
 

Recently uploaded

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 

Recently uploaded (20)

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 

What is output in C programming

  • 1. What is output? #include typedef struct Data_struct { int ID; char type[8]; } Data; int main(void) { const int NUM_DATA = 2; Data idData [NUM_DATA]; int i; idData[O]. ID = 0; strepy(idData[0]. type, "Public"); idData [1].ID = 1; strpy(idData[1]. type, "Private"); printf("Total data: %d", NUM_DATA); for (i = 0; i < NUM_DATA; +i) { printf(" ID: %d', idData[i]. ID); printf(" type %5" ", idData [i] . type); } return 0; } Total data: 2 ID: 1 type: Private ID: O type: Public O Total data: 4 ID: 1 type: Private ID: 0 Type: Public