quiz حل الأسئلة الجامعية manage_search الأرشيف

تم الحل ✓
categoryبرمجة وتطوير البرمجيات schoolبكالوريوس event_available2026-07-15

السؤال

Transcribed Image Text:

What is the output of the following program? #include <iostream> using namespace std; void swap(int x, int y){ int tmp=x; x=y; y=tmp; } void main(){ int x=2, y=4; swap(x,y); cout<<x<<y<<endl; }

check_circle الجواب — حل مفصل خطوة بخطوة

hourglass_top