What happens when you attempt to compile and run the following code?
#include
#include
#include
using namespace std;
class A {
int a;
public:
A(int a) : a(a) {}
int getA() const { return a; } void setA(int a) { this?>a = a; }
};
int main () {
int t[] = {1,2,3,2,3,5,1,2,7,3,2,1,10, 4,4,5};
deque
int number = count(d.begin(), d.end(), 2);
cout<< number< return 0; } Program outputs:
Asha
2 months agoIlene
29 days agoCecilia
1 months agoArlette
1 months agoStevie
2 months agoAdelle
2 months agoOdette
6 days agoTamera
10 days agoAndrew
13 days agoSalley
21 days agoWava
2 months agoIra
2 months agoCornell
2 months agoFatima
25 days agoBrande
1 months agoDelbert
1 months agoRueben
2 months agoWava
3 months ago