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 is overriding in oops?

0 Answers  


write a program which best describes polymorphism in real world?

2 Answers   CTS, Infosys, NexGen,


Templates mean

0 Answers  


What is object and class in oops?

0 Answers  


can we make a class static without using static keyword?

5 Answers   Aspire,


difine hierarchical inheritance.

9 Answers   ASD Lab, TCS,


C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C.

1 Answers   Syncfusion,


How do you define a class in oop?

0 Answers  


I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe

1 Answers  


what is oppes

2 Answers  


what i oops concept, how many languages supports oops concept?

3 Answers   Value Labs,


What is an interface in oop?

0 Answers  


Categories