Basic Program in "C"
#include <stdio.h> /*This is the standard input/output library function*/
main(void) /*All C programs must have the function main*/
{
char ch;
printf("This is a C Program."); /* Every line of code in C must end with a semi colon*/
printf("Welcome to C!");/*the printf outputs the line of text to the screen*/
scanf("%c%c", &ch, &ch); /* This is a trick way to pause the computer so you can read the information on the screen*/
return 0; /* Indicates that your program has terminated successfully*/
Write a C program to Draw a RAINBOW and fill the suitable colors ...
abhimanyu
substracion of any two number program in c
you can use strstr()
I don't use that function in C programme.
Write your program and if you are having a problem post it here with a description of the problem you are having. What you are asking is for someone to do your homework for you.
#include(stdio.h) int main ()
#include <stdio.h> int main (void) { puts ("abcdefedcba"); return 0; }
It is the "Tower of Hanoi" and it is a puzzle. When you can solve the puzzle you can write the program, when you have learned enough to write simple programs. You do want to be able to write computer programs, don't you?
struct A {}; // base class struct B : A {} // derived class (single inheritance).
void mail ( ); { int a, b c = a+b; printf ("%d",=c); }
result = a * b * c;