Question No. 101 :
Write a C - program to write "Be Brainly".
Answers
Hey!
Q. Write a C - program to write "Be Brainly".
[I am providing two ways two code this program.]
Here's the code.
(1)
/*C program to print "Be Brainly"*/
/*simple program*/
/*written by Mahnaz*/
main() /*function main*/
{ /*start of program*/
/*printing begings*/
printf("Be Brainly"); /*program statements*/
/*printing ends*/
} /*end of programs*/
(2)
/*C program to print "Be Brainly"*/
/*another simple program*/
/*written by Mahnaz*/
#include <stdio.h> /*#include is the compiler directive and <stdio.h> is the filename containing the required function*/
int main () { /* int is the keyword with main function*/
printf("Be Brainly \n"); /* program statement*/
return 0;
}
______________________________
See the attachment for proper review.
______________________________