Introduction To Programming

Why programs ? Programming is nothing but making the computers think the same way a human thinks. Programs are made for obtaining a specific solution which can even be solved by humans which when solved by us may consume time..

Tuesday, February 16, 2010

25

#include< stdio.h >
main()
{
int **p,*a,b=1;
a=&b;
p=&a;
printf("%d",*p);
}

Output


-14


-14 is address of 'a'

24

#include < stdio.h >
main()
{
int a=0;
if(a=0)
{
printf("hi");
}
printf("hello");
}

output


what'll be the output?