(a) Explain call by value and call by reference with suitable example…
Previous year question for Computer Programming.
Question
(a) Explain call by value and call by reference with suitable example. (10)
(b) What is structure? Explain the syntax of structure declaration. Illustrate the concept of structure by writing a program to read the following information of 60 students: students Name, students Roll No. and marks in two subjects. Print the roll no. that has scored more than 60% marks. (10)
- Year: 2018
- Subject: Computer Programming
Related pages
More PYQs on Call by Reference
- (a) Explain about call by value and call by reference with reference to functions. Write a function to swap the values between the variables using call by valu…
- (b) What is pointer? Explain how the pointer variable declared and initialized? Write a C program to swap two numbers using call by address(pointers or referen…
- (a) Explain the various string manipulation functions used in C. (10) (b) Differentiate between call by value and call by reference with the help of example. (…
- a) What is function parameter? Explain with example different types of parameter in C function. (10) b) Explain difference between call by reference and call b…
- (a) Distinguish between call by value and call by reference with the help of program. (10) (b) Write a program to read and print two matrices and also print ad…