SolveIt is under development
SolveItNCERT · CBSE · NEET
Question 1 / 3 · latest first
✓ Board-verified
Computer Science · 2026 · 1 mark

CBSE 2026 · Central · Set 4 · Q9

What will be the output of the following code? def f1(a,b=1): print(a+b,end='-') c=f1(1,2) print(c,sep=' ')

What will be the output of the following code ?
def f1(a,b=1):
    print(a+b,end='-')
 c=f1(1,2)
print(c,sep='*')
ShareWhatsAppTelegram

More from Functions

CBSE Class 12 Computer Science past-paper question from the 2026 board exam, with the answer as CBSE’s own marking scheme gives it. Where our answers come from.