Can anyone explain me what is happening in the following code:
#include<stdio. h>
int main()
{
int i,j;
scanf("%d %d" + scanf("%d %d",&i,&j));
printf("%d %d\n");
}
It takes 3 inputs and outputs the first two... how come??
#include<stdio. h>
int main()
{
int i,j;
scanf("%d %d" + scanf("%d %d",&i,&j));
printf("%d %d\n");
}
It takes 3 inputs and outputs the first two... how come??
Comment