Professional Documents
Culture Documents
5. What are formal and actual parameters? What does parameter passing
refers to? Discuss parameter passing methods in Pascal, C and C++.
2. a) What are the constructs used for definite iteration? Give examples.
b) Draw flow diagram for the following program fragment
a) If E1 then S1 b) repeat S until E
Elsif E2 then S2
Else S3
end
4. a) How will you tell that two type expressions are structurally
equivalent?
b) Give the elements of function procedures in Pascal.