Type in a code to declare variable b and assign a's value to b and print the output to screen | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Type in a code to declare variable b and assign a's value to b and print the output to screen

int a=15; int b=___; cout <<a___b<<endl; return 0

18th Jul 2018, 4:53 PM
S.SAMEERA BEGUM
S.SAMEERA BEGUM - avatar
3 Answers
0
int a=15; int b=a; cout << a << b << endl; return 0; WTF. For what is this question?
18th Jul 2018, 5:06 PM
B K
0
int a=15; int b=_a__; cout <<a_+__b<<endl; return 0
13th Dec 2020, 2:03 PM
Dhairyashil Nagnath Deshmukh
Dhairyashil Nagnath Deshmukh - avatar
0
int a = 15; int b = a ; cout << a + b << endl;
7th Oct 2022, 3:12 PM
Sujit suresh shinde