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..

Monday, April 26, 2010

Predict the Output:

main()
{
float me = 1.1;
double you = 1.1;
if(me==you)
printf("shark selva");
else
printf("Matrix Developer");
}



shark selva
Matrix Developer

Difference between a string copy (strcpy) and a memory copy (memcpy)?

What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?


why??

why n++ executes faster than n+1?