Hey guys this is a simple code snippet....
#include "h1.h"
int main()
{
cout<<"\nHello \n";
printf("\nWelcome!!!");
return 0;
}
but the output i get is "Welcome" first and then "hello".
Why is welcome statement executing first?
i have included stdio.h and iostream.h in h1.h
i am running Visual studio 6.0
any suggestions?
#include "h1.h"
int main()
{
cout<<"\nHello \n";
printf("\nWelcome!!!");
return 0;
}
but the output i get is "Welcome" first and then "hello".
Why is welcome statement executing first?
i have included stdio.h and iostream.h in h1.h
i am running Visual studio 6.0
any suggestions?