#include <iostream>
#include <cstring>
using namespace std;
int main()
{
char str1[100];
// str1 = "apna college";
char str2[100]="hello world";
strcpy(str1, str2); // strcpy(dest, src)
cout << str1 << endl;
return 0;
}
#include <iostream> using namespace std; struct Node { int data; Node* next; }; class Stack { Node* top; public: Stac...
No comments:
Post a Comment