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

Answer Posted / lucky

samco system
amco system

Is This Answer Correct ?    10 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List some basic data types in c?

557


write a c program to calculate sum of digits till it reduces to a single digit using recursion

2716


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

658


What is the use of volatile?

604


What is time null in c?

579






struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

762


What is the use of getchar functions?

673


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

1896


How do we make a global variable accessible across files? Explain the extern keyword?

1416


Explain the binary height balanced tree?

720


What is 'bus error'?

642


What are the types of macro formats?

600


What are # preprocessor operator in c?

627


When should the const modifier be used?

653


Explain what are preprocessor directives?

623