comp_h-6_1st-sem_2020 (2)
comp_h-6_1st-sem_2020 (2)
comp_h-6_1st-sem_2020 (2)
Answer Question No. 1 and any four questions from the rest
4. (a) Write a program to swap two numbers without using the third variable. 5
(b) How can you print a string with the symbol % in it? For example, to print 3
―Shyam has secured 90% in mathematics‖.
5. (a) What are the limitations of scanf() and how can it be avoided? 4
(b) Differentiate between the macros and the functions. 4
1 3 3 1
N.B. : Students have to complete submission of their Answer Scripts through E-mail / Whatsapp to
their own respective colleges on the same day / date of examination within 1 hour after end
of exam. University / College authorities will not be held responsible for wrong submission
(at in proper address). Students are strongly advised not to submit multiple copies of the
same answer script.
––––×––—
1036 2