WAP to generate 2n+1 lines of the following pattern on the
computer screen:
Answer Posted / tejaswini dhatrak
#include<stdio.h>
#include<conio.h>
int main()
{
printf(“*”);
for(int i=1;i<=5;i++)
{
printf(“**”);
}
printf(“*”);
return 0;
}
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
Why is polymorphism used?
What is oops?what is its use in software engineering?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
How is polymorphism achieved?
What is encapsulation in oops?
What is advantage of inheritance?
What is an example of genetic polymorphism?
What is the oops and benefits of oops programming?
What is polymorphism used for?
What is object in oop with example?
What are oops methods?
Why do we use class in oops?
What is class in oop with example?