Distinguishing signed and unsigned data types


Question 1)(a) Write down a function which interchanges and prints the value of two integers A and B without using any extra variable.

(b) What do you mean by recursion.

Question 2)(a) Distinguish between a structure and an array. How you can declare the array of structures? Give an example.

(b) What is the self referential structure? Can a union be self-referenced?

Question 3) List and describe various types of data types in C. Also distinguish between signed and unsigned data types with reference to range of memory they occupy.

Question 4)(a) What are the differences between while and do while construct?

(b) Write a program using recursive function to print Fibonacci series.

Question 5)(a) Describe in detail various types of storage classes.

(b) Distinguish between break and continue statements.

Question 6)(a) Write a program in C to sort integer elements of one dimensional array in ascending order.

(b) Write a program to copy the contents of one file to another.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Distinguishing signed and unsigned data types
Reference No:- TGS08241

Expected delivery within 24 Hours