main()
{
char *ptr = "Ramco Systems";
(*ptr)++;
printf("%s\n",ptr);
ptr++;
printf("%s\n",ptr);
}
Find the Outputs?
Answer Posted / soundar
Address of the variable will be displayed for the first
printf stmt
previous address will be incremented and current address of
variable will displayed for second printf stmt
Is This Answer Correct ? | 3 Yes | 8 No |
Post New Answer View All Answers
why we wont use '&' sing in aceesing the string using scanf
What is an identifier?
What is a good way to implement complex numbers in c?
c program to compute AREA under integral
How do you declare a variable that will hold string values?
What is substring in c?
write a c program for swapping two strings using pointer
what do the 'c' and 'v' in argc and argv stand for?
What is build process in c?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
what are # pragma staments?
What are structure types in C?
What is #include stdio h?
What is size of union in c?