Print the foll in C...eg when n=5 the o/p must b
+ +
+ + + +
+ + + + +
+ + + +
+ +
Answer / ataraxic
char *m[] = { "+ +", "++ ++", "+++++" };
for (i=1; i <= 5; i++)
printf("%s\n", m[5%i]);
Is This Answer Correct ? | 1 Yes | 4 No |
What are the different types of constants?
How many types of functions are there in c?
How can you invoke another program from within a C program?
for example user gives input as " 20 or 20.0 or rs 20.0 or 20.00 or rs20 and so .. on " and the output should be stored as " rs.20.00 " in a variable
What do you mean by a sequential access file?
How to explain the final year project as a fresher please answer with sample project
How to implement variable argument functions ?
How can I prevent other programmers from violating encapsulation by seeing the private parts of my class?
How do I read the arrow keys? What about function keys?
What is string function c?
what is the use of ~ in c lang?????
What does sizeof function do?