SlideShare a Scribd company logo
1 of 1
Download to read offline
Consider the following piece of code. What will be values of variables after the code is executed?
Answer by a number or enter undefined, which means you cannot determine its value. 1. int i,j,m,n
,p; 2. m=0;n=1; 3. for (j=2;j<4;j++) 4. { 5. i=m+j; 6. p=p+n; 7. } How many times the loop is
executed? i: j: m: n : p:

More Related Content

More from adhiapparals

Consider the following grammar ExpressionExpressionExp.pdf
Consider the following grammar ExpressionExpressionExp.pdfConsider the following grammar ExpressionExpressionExp.pdf
Consider the following grammar ExpressionExpressionExp.pdfadhiapparals
 
Consider the following financial information for Kleen Compa.pdf
Consider the following financial information for Kleen Compa.pdfConsider the following financial information for Kleen Compa.pdf
Consider the following financial information for Kleen Compa.pdfadhiapparals
 
Consider the following function f static ltTgt void fA.pdf
Consider the following function f static ltTgt void fA.pdfConsider the following function f static ltTgt void fA.pdf
Consider the following function f static ltTgt void fA.pdfadhiapparals
 
Consider the following function pow void pow Crime c1.pdf
Consider the following function pow  void pow  Crime c1.pdfConsider the following function pow  void pow  Crime c1.pdf
Consider the following function pow void pow Crime c1.pdfadhiapparals
 
Consider the following figure from this weeks reading a P.pdf
Consider the following figure from this weeks reading a P.pdfConsider the following figure from this weeks reading a P.pdf
Consider the following figure from this weeks reading a P.pdfadhiapparals
 
Consider the following data set Using the linear regression.pdf
Consider the following data set Using the linear regression.pdfConsider the following data set Using the linear regression.pdf
Consider the following data set Using the linear regression.pdfadhiapparals
 
Consider the following cross A A B b D d .pdf
Consider the following cross A  A      B  b     D   d .pdfConsider the following cross A  A      B  b     D   d .pdf
Consider the following cross A A B b D d .pdfadhiapparals
 
Consider the following data for a closed economy Y14 tril.pdf
Consider the following data for a closed economy Y14 tril.pdfConsider the following data for a closed economy Y14 tril.pdf
Consider the following data for a closed economy Y14 tril.pdfadhiapparals
 
Consider the following data for a particular country In.pdf
Consider the following data for a particular country     In.pdfConsider the following data for a particular country     In.pdf
Consider the following data for a particular country In.pdfadhiapparals
 
Consider the following code snippet What header files are n.pdf
Consider the following code snippet What header files are n.pdfConsider the following code snippet What header files are n.pdf
Consider the following code snippet What header files are n.pdfadhiapparals
 
Consider the following cash flow profile and assume MARR is .pdf
Consider the following cash flow profile and assume MARR is .pdfConsider the following cash flow profile and assume MARR is .pdf
Consider the following cash flow profile and assume MARR is .pdfadhiapparals
 
Consider Japan and Vietnam producing capitalintensive robo.pdf
Consider Japan and Vietnam producing capitalintensive robo.pdfConsider Japan and Vietnam producing capitalintensive robo.pdf
Consider Japan and Vietnam producing capitalintensive robo.pdfadhiapparals
 
Consider the following BNF grammar G based on the TinyC++ s.pdf
Consider the following BNF grammar G based on the TinyC++ s.pdfConsider the following BNF grammar G based on the TinyC++ s.pdf
Consider the following BNF grammar G based on the TinyC++ s.pdfadhiapparals
 
Consider the following bonds Which of the bonds A to D is m.pdf
Consider the following bonds Which of the bonds A to D is m.pdfConsider the following bonds Which of the bonds A to D is m.pdf
Consider the following bonds Which of the bonds A to D is m.pdfadhiapparals
 
Consider the following benefit and cost data of a project a.pdf
Consider the following benefit and cost data of a project a.pdfConsider the following benefit and cost data of a project a.pdf
Consider the following benefit and cost data of a project a.pdfadhiapparals
 
Consider the figure below as a link layer and network layer.pdf
Consider the figure below as a link layer and network layer.pdfConsider the figure below as a link layer and network layer.pdf
Consider the figure below as a link layer and network layer.pdfadhiapparals
 
Consider the EU as made of two blocks the Eastern and South.pdf
Consider the EU as made of two blocks the Eastern and South.pdfConsider the EU as made of two blocks the Eastern and South.pdf
Consider the EU as made of two blocks the Eastern and South.pdfadhiapparals
 
Consider an urn with 20 balls in it numbered 1220 Ta.pdf
Consider an urn with 20 balls in it numbered 1220 Ta.pdfConsider an urn with 20 balls in it numbered 1220 Ta.pdf
Consider an urn with 20 balls in it numbered 1220 Ta.pdfadhiapparals
 
Consider a standard DFF By itself this chip is not able to.pdf
Consider a standard DFF By itself this chip is not able to.pdfConsider a standard DFF By itself this chip is not able to.pdf
Consider a standard DFF By itself this chip is not able to.pdfadhiapparals
 
Consider the definition of the intersection of families F .pdf
Consider the definition of the intersection of families F .pdfConsider the definition of the intersection of families F .pdf
Consider the definition of the intersection of families F .pdfadhiapparals
 

More from adhiapparals (20)

Consider the following grammar ExpressionExpressionExp.pdf
Consider the following grammar ExpressionExpressionExp.pdfConsider the following grammar ExpressionExpressionExp.pdf
Consider the following grammar ExpressionExpressionExp.pdf
 
Consider the following financial information for Kleen Compa.pdf
Consider the following financial information for Kleen Compa.pdfConsider the following financial information for Kleen Compa.pdf
Consider the following financial information for Kleen Compa.pdf
 
Consider the following function f static ltTgt void fA.pdf
Consider the following function f static ltTgt void fA.pdfConsider the following function f static ltTgt void fA.pdf
Consider the following function f static ltTgt void fA.pdf
 
Consider the following function pow void pow Crime c1.pdf
Consider the following function pow  void pow  Crime c1.pdfConsider the following function pow  void pow  Crime c1.pdf
Consider the following function pow void pow Crime c1.pdf
 
Consider the following figure from this weeks reading a P.pdf
Consider the following figure from this weeks reading a P.pdfConsider the following figure from this weeks reading a P.pdf
Consider the following figure from this weeks reading a P.pdf
 
Consider the following data set Using the linear regression.pdf
Consider the following data set Using the linear regression.pdfConsider the following data set Using the linear regression.pdf
Consider the following data set Using the linear regression.pdf
 
Consider the following cross A A B b D d .pdf
Consider the following cross A  A      B  b     D   d .pdfConsider the following cross A  A      B  b     D   d .pdf
Consider the following cross A A B b D d .pdf
 
Consider the following data for a closed economy Y14 tril.pdf
Consider the following data for a closed economy Y14 tril.pdfConsider the following data for a closed economy Y14 tril.pdf
Consider the following data for a closed economy Y14 tril.pdf
 
Consider the following data for a particular country In.pdf
Consider the following data for a particular country     In.pdfConsider the following data for a particular country     In.pdf
Consider the following data for a particular country In.pdf
 
Consider the following code snippet What header files are n.pdf
Consider the following code snippet What header files are n.pdfConsider the following code snippet What header files are n.pdf
Consider the following code snippet What header files are n.pdf
 
Consider the following cash flow profile and assume MARR is .pdf
Consider the following cash flow profile and assume MARR is .pdfConsider the following cash flow profile and assume MARR is .pdf
Consider the following cash flow profile and assume MARR is .pdf
 
Consider Japan and Vietnam producing capitalintensive robo.pdf
Consider Japan and Vietnam producing capitalintensive robo.pdfConsider Japan and Vietnam producing capitalintensive robo.pdf
Consider Japan and Vietnam producing capitalintensive robo.pdf
 
Consider the following BNF grammar G based on the TinyC++ s.pdf
Consider the following BNF grammar G based on the TinyC++ s.pdfConsider the following BNF grammar G based on the TinyC++ s.pdf
Consider the following BNF grammar G based on the TinyC++ s.pdf
 
Consider the following bonds Which of the bonds A to D is m.pdf
Consider the following bonds Which of the bonds A to D is m.pdfConsider the following bonds Which of the bonds A to D is m.pdf
Consider the following bonds Which of the bonds A to D is m.pdf
 
Consider the following benefit and cost data of a project a.pdf
Consider the following benefit and cost data of a project a.pdfConsider the following benefit and cost data of a project a.pdf
Consider the following benefit and cost data of a project a.pdf
 
Consider the figure below as a link layer and network layer.pdf
Consider the figure below as a link layer and network layer.pdfConsider the figure below as a link layer and network layer.pdf
Consider the figure below as a link layer and network layer.pdf
 
Consider the EU as made of two blocks the Eastern and South.pdf
Consider the EU as made of two blocks the Eastern and South.pdfConsider the EU as made of two blocks the Eastern and South.pdf
Consider the EU as made of two blocks the Eastern and South.pdf
 
Consider an urn with 20 balls in it numbered 1220 Ta.pdf
Consider an urn with 20 balls in it numbered 1220 Ta.pdfConsider an urn with 20 balls in it numbered 1220 Ta.pdf
Consider an urn with 20 balls in it numbered 1220 Ta.pdf
 
Consider a standard DFF By itself this chip is not able to.pdf
Consider a standard DFF By itself this chip is not able to.pdfConsider a standard DFF By itself this chip is not able to.pdf
Consider a standard DFF By itself this chip is not able to.pdf
 
Consider the definition of the intersection of families F .pdf
Consider the definition of the intersection of families F .pdfConsider the definition of the intersection of families F .pdf
Consider the definition of the intersection of families F .pdf
 

Recently uploaded

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
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
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
 
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
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
“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
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
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
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 

Recently uploaded (20)

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
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
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
 
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
 
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🔝
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .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...
 
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
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 

Consider the following piece of code What will be values of.pdf

  • 1. Consider the following piece of code. What will be values of variables after the code is executed? Answer by a number or enter undefined, which means you cannot determine its value. 1. int i,j,m,n ,p; 2. m=0;n=1; 3. for (j=2;j<4;j++) 4. { 5. i=m+j; 6. p=p+n; 7. } How many times the loop is executed? i: j: m: n : p: