When I enter Roll No = 3332810074 and Serial Number = 14 the output roll number is wrong and the output serial number is right. Can you help me to detect the error.Code:#include <stdio.h> main() { int r,s; printf("Enter Roll Number\n"); scanf("%d",&r); printf("Enter Serial Number\n"); scanf("%d",&s); system("clear"); printf("%d\n",r); printf("%d\n",s); }


LinkBack URL
About LinkBacks
button at the bottom left corner of my post.
Reply With Quote

