WAP to generate 2n+1 lines of the following pattern on the
computer screen:
Answers were Sorted based on User's Feedback
Answer / 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 |
What is polymorphism and why is it important?
what are the uses of C++
Write on signed and unsigned integers and give three (3) examples each
what is the difference between a package and a software?
what is diff between .net 1.1 and .net 2.0
Why do we use encapsulation in oops?
Which language is pure oop?
What is inheritance in simple words?
What is destructor example?
Can we override main method?
Why and when is a virtual destructor needed?
define oops concept with example