MY name is ruhul amin

ISLAMIC UNIVERSITY OF KUSHTIA

Friday, March 29, 2013

new item of c++ code

#include <iostream>
using namespace std;
class name
{
    private:
    char a[100];
    public:
    void member(char b[])
    {
    cout<<b;
    }
};
int main()
{
    name ob;
    char a[100]="computerscience&engineering";
    ob.member(&a[8]);
    return 0;
}

No comments:

Post a Comment