User input 1234 567
scanf("%2d %2d",&value1,&value2);
scanf("%3d %2d",&value1,&value2);
scanf("%4d %3d",&value1,&value2);
scanf("%-5d",&value1,&value2);
How does all these work actually?? Iam confused..
Aishwarya786 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.