#include<stdio.h>
#include<conio.h>
int main()
{
int num;
printf("Enter your number \n");
scanf_s("%d", num);
printf("Your number is %d", num);
_getch();
return 0;
}
When i build the above code in VS2013 it gives me following error :
error C4700: uninitialized local variable 'num' used ?? Whhat would be the reason for this ??