+ 1
char a="hello world" ; printf("%. 2s",a);
How to write above code in c++ It's output is "he"
1 Réponse
+ 1
#include <iostream>
using namespace std;
int main(){
string a = "hello world";
cout<<a;
return 0;
}
How to write above code in c++ It's output is "he"