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
Why is c so powerful?
How many main () function we can have in a project?
in iso what are the common technological language?
Explain what is the benefit of using an enum rather than a #define constant?
Explain how does free() know explain how much memory to release?
Explain the use of function toupper() with and example code?
Explain Basic concepts of C language?
Why can arithmetic operations not be performed on void pointers?
What does & mean in scanf?
Write a program to swap two numbers without using third variable in c?
What is the default value of local and global variables in c?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
What is the difference between break and continue?
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 are the ways to a null pointer can use in c programming language?