hi,
i get an error - 'incompatible types in assignment'
for the following code

#include<stdio.h>
int main()
{
	char name[10];
	name="Hello";
	printf("%s",name);
}

Any help will be greatly appreciated...

You can't assign arrays.
Use strcpy() instead.