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

Answer Posted / vignesh1988i

Samco systems
amco systems



thank u

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c still used?

600


In a switch statement, what will happen if a break statement is omitted?

600


Explain how do you override a defined macro?

580


How can I read and write comma-delimited text?

617


How can I run c program?

679






Why pointers are used?

630


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3120


What 'lex' does?

713


Why is %d used in c?

560


Can a pointer be static?

618


What do you mean by invalid pointer arithmetic?

637


What is calloc()?

626


What is a dynamic array in c?

589


Is it possible to use curly brackets ({}) to enclose single line code in c program?

793


How many keywords are there in c?

587