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 a class?
32 Answers Infosys, TCS, Thylak,
What are properties in oop?
why freind function takes more parameter than normal member function in c++?
#include <iostream> using namespace std; int main() { int a = 2; 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][c[1][4]]; }
What type of Job you are providing?
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
what is the use of template classes in c++
Why is oop useful?
what is the difference between ERROR and EXCEPTION?
explain defference between structure and class with example
Advantage and disadvantage of routing in telecom sector
how do you handle yourself when you feel the wald is aganist you