Code Snippets C

#include
int main(void)
{
int j;
long double ld;
ld = 13.0;
j = ld; /*convert double to int*/
printf("%d", j);
}