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
List some basic data types in c?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
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?
What is the use of volatile?
What is time null in c?
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
What is the use of getchar functions?
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 .
How do we make a global variable accessible across files? Explain the extern keyword?
Explain the binary height balanced tree?
What is 'bus error'?
What are the types of macro formats?
What are # preprocessor operator in c?
When should the const modifier be used?
Explain what are preprocessor directives?