#include <stdio.h>
#include <iostream>
using namespace std;
int main(){
char name[5] = {'H','E','L','L','O'};
char names[] = "Welcome To C++";
const char * p = "Welcome to your, p!";
// char * a= "string1";
cout << "name =" << name << endl;
cout << "names = " << names << endl;
cout << "*p=" << *p;
while(*p++!='\0')
{
cout << *p;
}
cout << endl;
return 0;
}
c++ char
猜你喜欢
转载自blog.csdn.net/kq1983/article/details/114157131
今日推荐
周排行