Skip to content

Instantly share code, notes, and snippets.

View simula67's full-sized avatar

Joji Antony simula67

View GitHub Profile

Keybase proof

I hereby claim:

  • I am simula67 on github.
  • I am simula67 (https://keybase.io/simula67) on keybase.
  • I have a public key ASBE2no2JZOWjYHnNQ6pi2aODLOdtytddgsIL7hH-0bW2Ao

To claim this, I am signing this object:

tptacek M
patio11 M
jacquesm M
ColinWright M
edw519 M
danso M
tokenadult M
jgrahamc M
shawndumas M
rayiner M
@simula67
simula67 / test.c
Created December 12, 2014 14:12
Lexical scoping. Using variables outside the block that it was defined is an error
#include <stdio.h>
int main()
{
{
int num = 2;
printf("The value of num is : %d\n", num);
}
printf("The value of num is : %d\n", num); // compiler error
return 0;