About Me

My photo
Vijayapur, Karnataka, India
I am interested in Teaching.

Wednesday 4 December 2019

Important questions to be practice for VTU main examination on Functions, Pointers, Structures and Preprocessor (I semester B.E.)


Four Categories of Functions based on arguments and return value with examples.

Differences between call by value and call by reference.

Actual and formal parameters

What is recursive function? Write a recursive function to find factorial of N.

What is structure? Discuss the definition of structure, declaration and initialization of structure variable with syntax and examples.

Discuss the different ways to define structure and structure variables with examples.

Discuss the nested structure  and typedef with examples.

What is pointer? Discuss its declaration and initialization with syntax and examples.

What are preprocessors? list and explain with examples.

What is dynamic memory allocation? List and explain in brief about memory allocating functions.

Write C program to read and display one students information (Roll No, Name, USN and Marks)

Write user defined function isprime(n) that read n and return 1 if it is prime number; otherwise 0

Write C program to find standard deviation of n floating point numbers using pointers.

Write a c program to swap the contents of two variables using pointers.


Note: Do not forget to send your feedback about this blog. to cs.kusur@gmail.com

No comments:

GCD of two numbers and its application...

The greatest common divisor (gcd) of two numbers is the largest positive integer that divides both numbers without leaving a remainder. The ...