Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


WAP to generate 2n+1 lines of the following pattern on the
computer screen:

Answers were Sorted based on User's Feedback



WAP to generate 2n+1 lines of the following pattern on the computer screen:..

Answer / krishnan

*
* *
* *
* *
* *
* *
*

Is This Answer Correct ?    1 Yes 2 No

WAP to generate 2n+1 lines of the following pattern on the computer screen:..

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

Post New Answer

More OOPS Interview Questions

What does oop mean in snapchat?

0 Answers  


if u write a class do u write Assignment operator and copy constructor

1 Answers   Siemens,


What is the default size allocated for array in the statement if size not specified " int a[] "

4 Answers   CTS,


What is command routing in MFC

1 Answers   GE,


write a C++ program for booking using constructor and destructor.

0 Answers   HAL,


#include <iostream> using namespace std; int main() { int a = 3; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][2]; }

1 Answers  


Explain virtual inheritance?

0 Answers  


What is inheritance and how many types of inheritance?

0 Answers  


What is class encapsulation?

0 Answers  


What are the benefits of oop?

0 Answers  


What is virtual destructor? Why?

3 Answers   Agile Software, College School Exams Tests, CSC,


char* ptr = "Rahul"; *ptr++; printf("%s",ptr); What will be the output

9 Answers   Persistent,


Categories