GO 46 !


RD Dreams

MacDizzy

DBS

YADBS

SourceForge

SIX

Rally.co.in

Rossi Files

Open Solaris

Meebo

Crash.net

MotoGP

Beginning of End

Elving's blog

Sandeep's page

Sun Forums

Air Cooled RD

MindStorms

LEGO-Robotics

Track Guide

Track Forum

M's blogs

BikesZone

Kawasaki Triples

PhRack

Metallica

Distance Running

RD Shop

SMX - Solaris Minix

Elephant Story

WD40

Dan's M/C Site

Tunnel Rats

Gatorade

Orkut

Free Science

Spiderman McBride

Racing a Fiat

Forsyth

BSM Archives

Bugatti Veyron

RNR Racing

Surpise

Yet another "coding ambush".

So we have surp.c :

#include <stdio.h>

_mutex_lock()
{
        puts("surprise");
}

main()
{
 /* Yawn */
}

On :

bash-2.05$ uname -a
SunOS eas97 5.9 Generic_117171-05 sun4u sparc SUNW,Sun-Fire-V240
bash-2.05$

Compiled :

bash-2.05$ cc a.c
bash-2.05$

And when run :

bash-2.05$ ./a.out
surprise
surprise
surprise
surprise
surprise
surprise
surprise
surprise
surprise
surprise
bash-2.05$

LOL

Comments [0]




Trackback URL: http://blogs.sun.com/motor/entry/surpise
Comments:

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed