> format statement in c ~ Online tutorial

format statement in c

Formatting statement in c


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.





Please Give Us Your 1 Minute In Sharing This Post!
Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments: