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
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What does enum stand for?
What is the importance of oop?
What does I oop mean?
What are the important components of cohesion?
What is the significance of classes in oop?
What is data binding in oops?
Which language is not a true object oriented programming language?
What is polymorphism explain?
What is encapsulation in oops?
What is polymorphism explain its types?
What is the types of inheritance?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
Can we create object of interface?