تم الحل ✓
categoryعلوم الحاسوب
schoolبكالوريوس
event_available2026-07-15
السؤال
Transcribed Image Text:
Given the underneath fragment code that is written in C
language, Write down the function with domain and
codomain then prove that function is injective (One to one)
but it's not surjective (Onto)? SHOW ALL YOUR WORKS, a
counterexample is NOT ENOUGH, you have to disprove
surjectivity and prove injective.
void fun(unsigned int *n unsigned int *m ){
unsigned int *z= *n;
*n=(*m)*(*n) +1;
*m=(*m) * (*z)+ (*m)*(*m);
}
Files
Maximum file size: 20MB, maximum number of files: 2
You can drag and drop files here to add them.
check_circle الجواب — حل مفصل خطوة بخطوة
hourglass_top
🔒
الحل الكامل متاح للمشتركين
اشترك في أرشيف الأسئلة لعرض هذا الحل وآلاف الحلول المفصلة خطوة بخطوة من معلمين معتمدين.