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...



#include <iostream>
using namespace std;
struct wow {
int x;
};
int main() {
wow a;
a.x = 22;
int c = a.x;
int *b = new int;
cout << c;
return 0;
}
option:
No output
0
22
-(11)
Will not compile



#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a..

Answer / tiger

22

Is This Answer Correct ?    11 Yes 4 No

Post New Answer

More OOPS Interview Questions

143.what is oops principles?

10 Answers  


Have you ever interfaced with a database?

2 Answers   IBM,


Why is polymorphism needed?

0 Answers  


Difference between realloc() and free?

9 Answers   HP,


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

0 Answers   Accenture,


What does oop mean in snapchat?

0 Answers  


What is overriding vs overloading?

0 Answers  


How is exception handling carried out in c++?

3 Answers  


1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)

1 Answers   Nagarro,


What is the difference between the c++ & java?

2 Answers  


2. Give the different notations for the class.\

0 Answers  


Can private class be inherited?

0 Answers  


Categories