Hello All,
I am unable to understand this piece of code
main()
{
int i, j;
scanf("%d %d"+scanf("%d %d", &i, &j));
printf("%d %d", i, j);
}
I got this question from a C problem set. I run this code and I have to give the i/p 3 times. After this the code crashes. My questions are
1. What is the relevance of the + sign
2. Why do I have to give the i/p 3 times. Why not 4 ?
3. Why does the program crash ?
Thank You