Computer Science, asked by rinkitakurrawat, 1 month ago

.What is the output of below program?
int main(){
string a = 10;
string b = 20;
string c = a+b;
cout<<c;
return 0;
}
a) 10
b) Not Defined
c) 20
d) 1020​
plz help me before 3:05​

Answers

Answered by KesavanCSE
1

Answer:

not defined

Explanation:

cannot assign integer to string.

if above is excute only string must in double quotation

Similar questions