main()
{
char *ptr = "Ramco Systems";
(*ptr)++;
printf("%s\n",ptr);
ptr++;
printf("%s\n",ptr);
}
Find the Outputs?

Answer Posted / guest

error

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of pointers used in c language?

612


What is the difference between %d and %i?

595


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

2530


What are the types of variables in c?

578


what are the different storage classes in c?

660






write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

1628


What are structures and unions? State differencves between them.

614


How many types of functions are there in c?

581


Explain is it valid to address one element beyond the end of an array?

731


Write a simple code fragment that will check if a number is positive or negative.

708


Explain what are the standard predefined macros?

650


What is %lu in c?

680


Is it possible to pass an entire structure to functions?

552


What is null character in c?

688


Where register variables are stored in c?

550