Bug-Trail

Bug-Trail

Share

13/02/2013

Question no 6

The code converts lowercase to uppercase.Correct the bugs in it.

int main()
{
char str[20], *s;
printf("Enter a string\n");
scanf("%s", str);
s=str;
while(*s != '\0')
{
if(*s >= 97 && *s

Want your university to be the top-listed University in Delhi?
Click here to claim your Sponsored Listing.

Website

Address


Delhi Technological University
Delhi
110042