Home /UOG — University of Gujrat /Hafiz Hayat Campus /Object Oriented Programming

Object Oriented Programming BE UOG — University of Gujrat 2022

Object Oriented Programming BE UOG — University of Gujrat 2022 — page 1

Discussion

Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.

Your email is only used to send you replies and occasional Ustadni updates. It is never shown publicly.

Log in to post under your name

No questions yet — be the first to ask.

Need Paper? See all →

Need a paper or stuck on a question? Ask here — students reply and you get an email.

Ask about a paper
  • Danish Yasin· 2 hours ago

    ICT 1st sister paper

    0 replies Reply →
  • Bushra· 1 day ago

    BS Islamic Studies, 5th semester, ISL-511 Translation of Holy Quran (3) — Government College University Faisalabad (GCU…

    0 replies Reply →
  • Khadija· 3 days ago

    Civics course code GCCE101

    1 reply Reply →
  • Tasddaq hussain· 3 days ago

    BS 4the semester2025 civics and community engagement past paper According UOs

    0 replies Reply →
  • Humna Khan· 4 days ago

    Bs public administration 1st semester mid term past papers

    0 replies Reply →
Ad

Paper text

UNIVERSITY OF GUJRAT UNIVERSITY OF GUJRAT Final Term - spring 2022 VOG Subjective Part Course: Object Oriented Programming (CS-103/106) Total Marks: 35 Roll No: 21011519-050 Time Allowed (mins): 120 Question No 2- In the below code a function trap is called from the main function, what will be the output if the [3 Marks] code is successfully execute. int Trap(int varl, int var2) return var2*varl; int main( int valuel = 2, value2 = 3, laue3 = 4; value2 = Trap(Trap(valuel, value3), value3); cout << valuel << endl << value3<