mirror of
https://github.com/tiennm99/KTLT.git
synced 2026-07-11 13:03:10 +00:00
22 lines
303 B
C++
22 lines
303 B
C++
#include <iostream>
|
|
#include <string>
|
|
|
|
using namespace std;
|
|
|
|
void out(char* c, int length);
|
|
|
|
int main()
|
|
{
|
|
char c[] = "ab";
|
|
cout << sizeof(c);
|
|
return 0;
|
|
}
|
|
|
|
string* out(string* s, char[] c, int size_of_s, int length)
|
|
{
|
|
if (length == 1)
|
|
{
|
|
return s;
|
|
}
|
|
}
|