Answer Posted / srujitha
int main()
{
int n = 5;
for( int i = 0; i <= n; i = i + 2)
{
for( int j = 0; j<=i;j++)
{
printf("*");
}
printf(" ");
}
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the method to save data in stack data structure type?
What is the difference between local variable and global variable in c?
What are the applications of c language?
what does static variable mean?
What is function pointer c?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
What is structure padding and packing in c?
a program that can input number of records and can view it again the record
What is the role of this pointer?
What are the different types of endless loops?
Calculate 1*2*3*____*n using recursive function??
Which header file is used for clrscr?
Why ca not I do something like this?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
Are pointers really faster than arrays?