#include<stdio.h>
main()
{
int i,j;
for(i=0;i<10;i++)//replace 10 by any no. you need
{
for(j=i;j>0;j--)
{
printf(" ");
}
for(j=10-i;j>0;j--)//here also
printf("* ");
printf("\n");
}
}
The use of the reverse string in C program is used to reverse the letters in the string. An example would be reverse me would be reversed to em esrever.
Reference:cprogramming-bd.com/c_page2.aspx# reverse number
how to create a c program for left factoring.
sense question Your makes no.
mano ni anda yarrr
int main () {}
printf ("x")
how can create a attendece sheet in c language
#include<iostream.h>
C programs do not require header files. If you want a C program without header files, you can simply not create them. However, you may or may not be able to include your non-header file source files.
You might be able to use C to extract data from an Excel file, but there is no easy way to write a program to create an Excel file.
In programming, specifically in C and C++, the hashtag (#) is used to include files into the main program and to create macros.