Sorry! Posting Assignment is allowed only for commercial accounts.
include iostream void fun(int &x) { r = 10; } int main() { int r = 20; fun(r); cout "New value of r is " r; return 0; }
a = [1, 2, 3, 4]b = [3, 4, 5, 6]c = [x for x in a if x not in b]print(c)