C printf() issue

The following code crashes the process. Does anyone know why?
1
2
3
4
5
6
#include <stdio.h>

int main(int argc, char* argv)
{
	printf("%s", argv[0]);
}
The type of argv is wrong, for starters.
Thanks. Stupid mistake... :) Some rest is in order.
Topic archived. No new replies allowed.