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
How can you pass an array to a function by value?
Why is it usually a bad idea to use gets()? Suggest a workaround.
Are global variables static in c?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
I need testPalindrome and removeSpace
#include
What is scope rule of function in c?
Are comments included during the compilation stage and placed in the EXE file as well?
program to convert a integer to string in c language'
I heard that you have to include stdio.h before calling printf. Why?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
What is difference between structure and union?
Does sprintf put null character?
How is a macro different from a function?
What are the storage classes in C?
Is array a primitive data type in c?