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
What is the use of #include in c?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
What is c standard library?
Explain how does flowchart help in writing a program?
What are the key features in c programming language?
Can a file other than a .h file be included with #include?
What is the full form of getch?
What is the -> in c?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
Explain how do you search data in a data file using random access method?
Write a simple code fragment that will check if a number is positive or negative.
Is it better to use malloc() or calloc()?
What is malloc return c?
Explain how can you check to see whether a symbol is defined?