declare an array of structure where the members of the
structure are integer variable float variable integer array
char variable access all elements of the structure using dot
operator and this pointer operator


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Explain 'this' pointer and what would happen if a pointer is deleted twice?

0 Answers   Genpact,


Explain method of creating object in C++ ?

0 Answers   Wipro,


Consider a c++ template funtion template<class T> T& Add(T a, T b){return a+b ;} if this function is called as T c = Add("SAM", "SUNG"); what will happen? What is the problem in the template declaration/ How to solve the problem.

7 Answers   LG, Samsung,


What is the difference between a type-specific template friend class and a general template friend class?

0 Answers  


Define a program that reads two matrices of size 3x3 with real values from the user then prints their sum, difference and multiplication.

0 Answers   TCS,


Is c++ proprietary?

0 Answers  


Can we change the basic meaning of an operator in c++?

0 Answers  


When should I use unitbuf flag?

0 Answers  


What is the difference between "overloading" and "overridding"?

3 Answers  


What does it mean to declare a member variable as static?

0 Answers  


Why pointer is used in c++?

0 Answers  


What is a storage class in C++

1 Answers  


Categories