Thiên Nhạc Tâm
New member
What will be the output of the following C++ code?
A. Test
B. TestTest
C. Te
D. TestTe
Code:
#include <iostream>
using namespace std;
int main(void)
{
const char *one = "Test";
cout << one << endl;
const char *two = one;
cout << two << endl;
return 0;
}
B. TestTest
C. Te
D. TestTe