Formatting statement in c
1.It is an example of a well formatted program. Even though it is very short and therefore does very little, it is very easy to see at a glance what it does.
2..Your C compiler ignores all extra spaces and all carriage returns giving you
3.considerable freedom concerning how you format your program. Indenting and adding spaces is entirely up to you and is a matter of personal taste.
main() /* Main program starts here */ { printf("Good form "); printf ("can aid in "); printf ("understanding a program.\n"); printf("And bad form "); printf ("can make a program "); printf ("unreadable.\n"); } |
1.It is an example of a well formatted program. Even though it is very short and therefore does very little, it is very easy to see at a glance what it does.
2..Your C compiler ignores all extra spaces and all carriage returns giving you
3.considerable freedom concerning how you format your program. Indenting and adding spaces is entirely up to you and is a matter of personal taste.
0 comments:
Post a Comment