|
Featured Papers from Direct Essays
|
|
|
|
|
|
This is a preview of a paper to view the full text you need to signup and login.
|
C Programming FAQ
|
|
|
... h> at the top of a C source file for? ... ) Well learn more about the #include directive when we cover the C Preprocessor in a few weeks. ... What is the function of the semicolon in a C statement? ... What are the definitions of the ``Boolean values true and false in C? ... Name three uses for the semicolon in C. ... (If you said ``greater than 32 and less than 212, you werent quite right, and this kind of distinction--paying attention to the difference between ``greater than and ``greater than or equal--is often extremely important in programming. ...
int i;
for(i = 0; i < 3; i = i + 1)
printf("a
");
printf("b
");
printf("c
");
It would print
a
a
a
b
c
The indentation of the statement printf("b
"); is (deliberately, for the sake of the question) misleading. ... The two statements printf("b
"); and printf("c
"); are normal statements following the loop.
The code would be much clearer if the printf("b
"); line were indented to line up with the printf("c
"); line.
|
|
|
To link to this page, copy the following code to your site:
|
|
Paper Information
|
|
|
Title: C Programming FAQ
Words: 1015 Rating: None Pages: 4.1 submitted by: nanotech
If you think this paper shouldn't be here then
|
|
|
|
|
Signup & Login
|
|
|
If you don't currently have a login then Signup here
|
|
|
|
|
Pre-Written Papers
|
|
|
|
|
|
|
|
Custom Papers
|
|
|
|
|
|
|
|