You are viewing a single comment's thread. Return to all comments →
Is there any difference in both of them? We can use scanf like this scanf("%d",&i); scanf("%ld",&l); scanf("%c",&ch); scanf("%f",&f); scanf("%lf",&d);
or scanf("%d %ld %c %f %lf ",&i, &l, &ch, &f, &d );
Seems like cookies are disabled on this browser, please enable them to open this website
Basic Data Types
You are viewing a single comment's thread. Return to all comments →
Is there any difference in both of them? We can use scanf like this
scanf("%d",&i); scanf("%ld",&l); scanf("%c",&ch); scanf("%f",&f); scanf("%lf",&d);