SlideShare uma empresa Scribd logo
1 de 1
Baixar para ler offline
Consider the following program written in C syntax.
void swap (int a, int b) {
int temp;
temp = a;
a = b;
b = temp;
}
void main ( ) {
int value = 2, list[5] = {1, 3, 5, 7, 9};
swap (value, list[0]);
}
For both of the following parameter-passing methods, what is the value of the first element of list
after both of the following?
a) Pass-by-value for list[0]
b) Pass-by-reference for list[0]

Mais conteúdo relacionado

Mais de americancolor

Consider the following scenarioIn the last few weeks, residents h.pdf
Consider the following scenarioIn the last few weeks, residents h.pdfConsider the following scenarioIn the last few weeks, residents h.pdf
Consider the following scenarioIn the last few weeks, residents h.pdfamericancolor
 
Consider the following wage regression in which you have data on gen.pdf
Consider the following wage regression in which you have data on gen.pdfConsider the following wage regression in which you have data on gen.pdf
Consider the following wage regression in which you have data on gen.pdfamericancolor
 
core issue in frank by ocbc singapore case studyIn 2010, Jin Kang .pdf
core issue in frank by ocbc singapore case studyIn 2010, Jin Kang .pdfcore issue in frank by ocbc singapore case studyIn 2010, Jin Kang .pdf
core issue in frank by ocbc singapore case studyIn 2010, Jin Kang .pdfamericancolor
 
Coronado Corporation tuvo una utilidad neta de $240 000 y pag� divid.pdf
Coronado Corporation tuvo una utilidad neta de $240 000 y pag� divid.pdfCoronado Corporation tuvo una utilidad neta de $240 000 y pag� divid.pdf
Coronado Corporation tuvo una utilidad neta de $240 000 y pag� divid.pdfamericancolor
 
convert this python code to java script. Make sure it works on Eclip.pdf
convert this python code to java script. Make sure it works on Eclip.pdfconvert this python code to java script. Make sure it works on Eclip.pdf
convert this python code to java script. Make sure it works on Eclip.pdfamericancolor
 
Convert M9 to a regular expression. Consider the following generalis.pdf
Convert M9 to a regular expression. Consider the following generalis.pdfConvert M9 to a regular expression. Consider the following generalis.pdf
Convert M9 to a regular expression. Consider the following generalis.pdfamericancolor
 
Control en Netflix Los gerentes no solo controlan los procesos d.pdf
Control en Netflix Los gerentes no solo controlan los procesos d.pdfControl en Netflix Los gerentes no solo controlan los procesos d.pdf
Control en Netflix Los gerentes no solo controlan los procesos d.pdfamericancolor
 
CONTRATO DE ARRENDAMIENTO COMERCIAL Este Contrato de Arrendamiento C.pdf
CONTRATO DE ARRENDAMIENTO COMERCIAL Este Contrato de Arrendamiento C.pdfCONTRATO DE ARRENDAMIENTO COMERCIAL Este Contrato de Arrendamiento C.pdf
CONTRATO DE ARRENDAMIENTO COMERCIAL Este Contrato de Arrendamiento C.pdfamericancolor
 
Contrast the oral and poster method of presenting research at a conf.pdf
Contrast the oral and poster method of presenting research at a conf.pdfContrast the oral and poster method of presenting research at a conf.pdf
Contrast the oral and poster method of presenting research at a conf.pdfamericancolor
 
Contribution Margin Molly Company sells 40,000 units at $14 per unit.pdf
Contribution Margin Molly Company sells 40,000 units at $14 per unit.pdfContribution Margin Molly Company sells 40,000 units at $14 per unit.pdf
Contribution Margin Molly Company sells 40,000 units at $14 per unit.pdfamericancolor
 
ContextualizeWhat are YOUR learning goals What are the course .pdf
ContextualizeWhat are YOUR learning goals What are the course .pdfContextualizeWhat are YOUR learning goals What are the course .pdf
ContextualizeWhat are YOUR learning goals What are the course .pdfamericancolor
 
Contesta las preguntas del siguiente p�rrafo �Deber�a respons.pdf
Contesta las preguntas del siguiente p�rrafo �Deber�a respons.pdfContesta las preguntas del siguiente p�rrafo �Deber�a respons.pdf
Contesta las preguntas del siguiente p�rrafo �Deber�a respons.pdfamericancolor
 
CONTABILIDAD GERENCIAL - DECLARACIONES VERDADERAS O FALSAS.(SALTE .pdf
CONTABILIDAD GERENCIAL - DECLARACIONES VERDADERAS O FALSAS.(SALTE .pdfCONTABILIDAD GERENCIAL - DECLARACIONES VERDADERAS O FALSAS.(SALTE .pdf
CONTABILIDAD GERENCIAL - DECLARACIONES VERDADERAS O FALSAS.(SALTE .pdfamericancolor
 
Continental Airlines vuela alto con su almac�n de datos en tiempo re.pdf
Continental Airlines vuela alto con su almac�n de datos en tiempo re.pdfContinental Airlines vuela alto con su almac�n de datos en tiempo re.pdf
Continental Airlines vuela alto con su almac�n de datos en tiempo re.pdfamericancolor
 
Consider this scenario. Miguel is an experienced forensic evidence a.pdf
Consider this scenario. Miguel is an experienced forensic evidence a.pdfConsider this scenario. Miguel is an experienced forensic evidence a.pdf
Consider this scenario. Miguel is an experienced forensic evidence a.pdfamericancolor
 
Considere una econom�a donde la industria dominante es la producci�n.pdf
Considere una econom�a donde la industria dominante es la producci�n.pdfConsidere una econom�a donde la industria dominante es la producci�n.pdf
Considere una econom�a donde la industria dominante es la producci�n.pdfamericancolor
 
Considere una econom�a descrita por las siguientes ecuacionesY .pdf
Considere una econom�a descrita por las siguientes ecuacionesY .pdfConsidere una econom�a descrita por las siguientes ecuacionesY .pdf
Considere una econom�a descrita por las siguientes ecuacionesY .pdfamericancolor
 
Considere un pa�s con un producto interno bruto (PIB) nominal de $ 1.pdf
Considere un pa�s con un producto interno bruto (PIB) nominal de $ 1.pdfConsidere un pa�s con un producto interno bruto (PIB) nominal de $ 1.pdf
Considere un pa�s con un producto interno bruto (PIB) nominal de $ 1.pdfamericancolor
 
Considere todo lo que ha aprendido en este curso sobre problemas soc.pdf
Considere todo lo que ha aprendido en este curso sobre problemas soc.pdfConsidere todo lo que ha aprendido en este curso sobre problemas soc.pdf
Considere todo lo que ha aprendido en este curso sobre problemas soc.pdfamericancolor
 
Considere los virus en soluci�n como una suspensi�n. �C�mo esperar�a.pdf
Considere los virus en soluci�n como una suspensi�n. �C�mo esperar�a.pdfConsidere los virus en soluci�n como una suspensi�n. �C�mo esperar�a.pdf
Considere los virus en soluci�n como una suspensi�n. �C�mo esperar�a.pdfamericancolor
 

Mais de americancolor (20)

Consider the following scenarioIn the last few weeks, residents h.pdf
Consider the following scenarioIn the last few weeks, residents h.pdfConsider the following scenarioIn the last few weeks, residents h.pdf
Consider the following scenarioIn the last few weeks, residents h.pdf
 
Consider the following wage regression in which you have data on gen.pdf
Consider the following wage regression in which you have data on gen.pdfConsider the following wage regression in which you have data on gen.pdf
Consider the following wage regression in which you have data on gen.pdf
 
core issue in frank by ocbc singapore case studyIn 2010, Jin Kang .pdf
core issue in frank by ocbc singapore case studyIn 2010, Jin Kang .pdfcore issue in frank by ocbc singapore case studyIn 2010, Jin Kang .pdf
core issue in frank by ocbc singapore case studyIn 2010, Jin Kang .pdf
 
Coronado Corporation tuvo una utilidad neta de $240 000 y pag� divid.pdf
Coronado Corporation tuvo una utilidad neta de $240 000 y pag� divid.pdfCoronado Corporation tuvo una utilidad neta de $240 000 y pag� divid.pdf
Coronado Corporation tuvo una utilidad neta de $240 000 y pag� divid.pdf
 
convert this python code to java script. Make sure it works on Eclip.pdf
convert this python code to java script. Make sure it works on Eclip.pdfconvert this python code to java script. Make sure it works on Eclip.pdf
convert this python code to java script. Make sure it works on Eclip.pdf
 
Convert M9 to a regular expression. Consider the following generalis.pdf
Convert M9 to a regular expression. Consider the following generalis.pdfConvert M9 to a regular expression. Consider the following generalis.pdf
Convert M9 to a regular expression. Consider the following generalis.pdf
 
Control en Netflix Los gerentes no solo controlan los procesos d.pdf
Control en Netflix Los gerentes no solo controlan los procesos d.pdfControl en Netflix Los gerentes no solo controlan los procesos d.pdf
Control en Netflix Los gerentes no solo controlan los procesos d.pdf
 
CONTRATO DE ARRENDAMIENTO COMERCIAL Este Contrato de Arrendamiento C.pdf
CONTRATO DE ARRENDAMIENTO COMERCIAL Este Contrato de Arrendamiento C.pdfCONTRATO DE ARRENDAMIENTO COMERCIAL Este Contrato de Arrendamiento C.pdf
CONTRATO DE ARRENDAMIENTO COMERCIAL Este Contrato de Arrendamiento C.pdf
 
Contrast the oral and poster method of presenting research at a conf.pdf
Contrast the oral and poster method of presenting research at a conf.pdfContrast the oral and poster method of presenting research at a conf.pdf
Contrast the oral and poster method of presenting research at a conf.pdf
 
Contribution Margin Molly Company sells 40,000 units at $14 per unit.pdf
Contribution Margin Molly Company sells 40,000 units at $14 per unit.pdfContribution Margin Molly Company sells 40,000 units at $14 per unit.pdf
Contribution Margin Molly Company sells 40,000 units at $14 per unit.pdf
 
ContextualizeWhat are YOUR learning goals What are the course .pdf
ContextualizeWhat are YOUR learning goals What are the course .pdfContextualizeWhat are YOUR learning goals What are the course .pdf
ContextualizeWhat are YOUR learning goals What are the course .pdf
 
Contesta las preguntas del siguiente p�rrafo �Deber�a respons.pdf
Contesta las preguntas del siguiente p�rrafo �Deber�a respons.pdfContesta las preguntas del siguiente p�rrafo �Deber�a respons.pdf
Contesta las preguntas del siguiente p�rrafo �Deber�a respons.pdf
 
CONTABILIDAD GERENCIAL - DECLARACIONES VERDADERAS O FALSAS.(SALTE .pdf
CONTABILIDAD GERENCIAL - DECLARACIONES VERDADERAS O FALSAS.(SALTE .pdfCONTABILIDAD GERENCIAL - DECLARACIONES VERDADERAS O FALSAS.(SALTE .pdf
CONTABILIDAD GERENCIAL - DECLARACIONES VERDADERAS O FALSAS.(SALTE .pdf
 
Continental Airlines vuela alto con su almac�n de datos en tiempo re.pdf
Continental Airlines vuela alto con su almac�n de datos en tiempo re.pdfContinental Airlines vuela alto con su almac�n de datos en tiempo re.pdf
Continental Airlines vuela alto con su almac�n de datos en tiempo re.pdf
 
Consider this scenario. Miguel is an experienced forensic evidence a.pdf
Consider this scenario. Miguel is an experienced forensic evidence a.pdfConsider this scenario. Miguel is an experienced forensic evidence a.pdf
Consider this scenario. Miguel is an experienced forensic evidence a.pdf
 
Considere una econom�a donde la industria dominante es la producci�n.pdf
Considere una econom�a donde la industria dominante es la producci�n.pdfConsidere una econom�a donde la industria dominante es la producci�n.pdf
Considere una econom�a donde la industria dominante es la producci�n.pdf
 
Considere una econom�a descrita por las siguientes ecuacionesY .pdf
Considere una econom�a descrita por las siguientes ecuacionesY .pdfConsidere una econom�a descrita por las siguientes ecuacionesY .pdf
Considere una econom�a descrita por las siguientes ecuacionesY .pdf
 
Considere un pa�s con un producto interno bruto (PIB) nominal de $ 1.pdf
Considere un pa�s con un producto interno bruto (PIB) nominal de $ 1.pdfConsidere un pa�s con un producto interno bruto (PIB) nominal de $ 1.pdf
Considere un pa�s con un producto interno bruto (PIB) nominal de $ 1.pdf
 
Considere todo lo que ha aprendido en este curso sobre problemas soc.pdf
Considere todo lo que ha aprendido en este curso sobre problemas soc.pdfConsidere todo lo que ha aprendido en este curso sobre problemas soc.pdf
Considere todo lo que ha aprendido en este curso sobre problemas soc.pdf
 
Considere los virus en soluci�n como una suspensi�n. �C�mo esperar�a.pdf
Considere los virus en soluci�n como una suspensi�n. �C�mo esperar�a.pdfConsidere los virus en soluci�n como una suspensi�n. �C�mo esperar�a.pdf
Considere los virus en soluci�n como una suspensi�n. �C�mo esperar�a.pdf
 

Último

ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 

Último (20)

ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 

C program swaps value and first element of array - pass by value vs reference

  • 1. Consider the following program written in C syntax. void swap (int a, int b) { int temp; temp = a; a = b; b = temp; } void main ( ) { int value = 2, list[5] = {1, 3, 5, 7, 9}; swap (value, list[0]); } For both of the following parameter-passing methods, what is the value of the first element of list after both of the following? a) Pass-by-value for list[0] b) Pass-by-reference for list[0]