Debian Codegraph @

examples/prism-c.html

raw symbols SCIP
1 <h2>Strings</h2>
2 <pre><code>"foo \"bar\" baz"
3 'foo \'bar\' baz'
4 "Multi-line strings ending with a \
5 are supported too."</code></pre>
6
7 <h2>Macro statements</h2>
8 <pre><code># include &lt;stdio.h>
9 #define PG_locked 0
10 #define PG_error 1
11 </code></pre>
12
13 <h2>Full example</h2>
14 <pre><code>#include &lt;stdio.h>
15 main(int argc, char *argv[])
16 {
17 int c;
18 printf("Number of command line arguments passed: %d\n", argc);
19 for ( c = 0 ; c &lt; argc ; c++)
20 printf("%d. Command line argument passed is %s\n", c+1, argv[c]);
21 return 0;
22 }</code></pre>