Hello world/Text: Difference between revisions

→‎{{header|B}}: Removed overly complicated example from B tutorial which focussed on showing "extrn" variables.
(→‎{{header|B}}: Removed overly complicated example from B tutorial which focussed on showing "extrn" variables.)
Line 338:
 
=={{header|B}}==
===Obfuscated?===
Example reproduced, verbatim, from [https://www.bell-labs.com/usr/dmr/www/btut.html A Tutorial Introduction to the Language B], section 7:
<lang B>main( ) {
extrn a, b, c;
putchar(a); putchar(b); putchar(c); putchar('!*n');
}
 
a 'hell';
b 'o, w';
c 'orld';</lang>
 
===Simple.===
{{works with|The Amsterdam Compiler Kit - B|V6.1pre1}}
<lang B>main()
169

edits