how to write a java program for an output
****0 ***01 **012 *0123 01234
Answer / adeel
#include<iostream>
using namespace std;
int main()
{
int i,j;
for(i=0; i<=5; i++)
for(j=1; j<=i; j++)
cout<<j;
system("pause");
return 0;
}
Is This Answer Correct ? | 0 Yes | 4 No |
What is the real life example of polymorphism?
//what is wrong with the programme?? #include<iostream.h> template <class first> class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<<i; } void main() { dd <char>g; g.set(); g.print(); }
different types of castings
what is ns string? what is ns array?
difference between class and object
10 Answers Chandan, IBM, Magic Soft,
What is multiple inheritance?
what is the virtual function overhead, and what is it used for ? i hope i can get and appropriate answers, thanks a lot....
What are constructors in oop?
What is static in oop?
What type of loop is a for loop?
What are the four main oops concepts?
what is the sylabus for priliminaries?