Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
Write a program in C which makes use of while loop to allow a user to input real numbers and compute and output the sum of these numbers. The loop ends when the negative number is entered.
With the help of suitable examples describe the following terms: Variable; Array; Pointer.
Describe the various storage classes available in C. Write a program to determine the factorial of a number using recursion.
How do you create multidimensional arrays in C? Write a program to multiply two matrices and print the result.
What are various decision control statements in C? Give syntax and example of each. Describe various string handling functions of C with suitable example.
Distinguish Call by Value & Call by Reference using suitable example. What are Pointers? How Array will be passed to function using Pointers?
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.
Distinguish between type casting and type conversion. Is array index out of bounds allowed in C? Justify your answer.
What are different file handling functions in ‘C’ language? Write a ‘C’ language program to count the number of lines in a file.
What are the different file opening statements available in C? What are the different types of operators available in C language?
What do you mean by programming paradigm? Write down the name of different programming paradigm.
What is the function of modulus operator in C? Does it work for floating-point numbers? Distinguish between break and continue statement.
What do you mean by generic programming? How is it implemented in the c++?
Write down the five most significant features that a software developer must keep in mind while designing a system.
Design a class containing the constructor and destructor functions which should display the number of object being made or destroyed of this class type.
Define the term function? How will you define a function in C++?
What are the benefits of the object-oriented programming paradigm?
Describe call-by-reference with suitable example. What is friend function? Give suitable example. Describe Multiple Inheritance with suitable example.
Describe the concept of in-line functions with an example. Describe the role of ‘this’ and ‘super’ pointers with suitable example.
Give any 4 manipulators and their equivalent ios functions. In what order are the constructors called when a derived class object is created. Assume that there are virtual and normal base classes. D
What are nested classes? Describe how name resolution proceeds in a nested class definition with examples.
Distinguish between syntactic and semantic dependency. What are the advantages of drawing CRC cards while developing a design?
Write detailed notes associated to Object-Oriented Concepts on the given: a) Class and object definitionsb) Class declaration c) Encapsulation and abstraction d) The two main advantages of encap
Write a program which reads in two floating point numbers and then performs one of four operations on them: addition, subtraction, multiplication or division.
The statement #include <iostream> is normally added at the strating of a program. What is the purpose of this statement?