Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Quark C++ General Interview Questions
Questions Answers Views Company eMail

class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.

2 11055

template class Obj { T my_t; X my_x; public: Obj(T t, X x) : my_t(t), my_x(x) { } }; Referring to the sample code above, which one of the following is a valid conversion operator for the type T? a) T operator T () { return my_t; } b) T operator(T) const { return my_t; } c) operator(T) { return my_t; } d) T operator T (const Obj &obj) { return obj.my_t; } e) operator T () const { return my_t; }

1 6454

catch(exception &e) { . . . } Referring to the sample code above, which one of the following lines of code produces a written description of the type of exception that "e" refers to? a) cout << e.type(); b) cout << e.name(); c) cout << typeid(e).name(); d) cout << e.what(); e) cout << e;

2 7035

int f() { int I = 12; int &r = I; r += r / 4; int *p = &r; *p += r; return I; } Referring to the sample code above, what is the return value of the function "f()"? a) 12 b) 15 c) 24 d) 17 e) 30

2 10349

Post New Quark C++ General Interview Questions




Un-Answered Questions

Where is mongodb data stored?

1


acetylene is stored in ?

1036


the water is flowing through a velocity of 1.5m/s in a pipe of length 2500m and dia 500mm. at the end of pipe a valve is provided. find rise in pressure 1. if the valve is closed in 5 seconds. 2. if the valve is closed instantaneously. take value of c = 1460m/s, pipe to be rigid and bulk modulus of water - 19.692x10' n/sqcm

2359


What is the difference between Thin client and Thick Client ?

5


What is the command merge and center in excel?

686


In how many ways we can retrieve the data in the result set of MySQL using PHP? What is the difference between mysql_fetch_object and mysql_fetch_array ?

1067


Can you discuss a situation where you managed supply chain challenges that impacted production schedules?

1


How can I reduce the size of a powerpoint file online?

383


Explain how do classification and regression differ?

155


how to construct simple biogas digerter? please show me detail drawing and specification of simple biogas construction?

2457


How will you explain save() and saveorupdate() methods in hibernate?

420


Explain JMS and its Component?

907


What are the special stocks in sap?

1076


how to make and display a form without title bar?

1943


Difference b/w SCSI AND IDE

2071