main()
{
char *ptr = "Ramco Systems";
(*ptr)++;
printf("%s\n",ptr);
ptr++;
printf("%s\n",ptr);
}
Find the Outputs?
Answer Posted / guest
error
| Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
What is null in c?
Explain what does a function declared as pascal do differently?
Why clrscr is used in c?
What are linked lists in c?
Does free set pointer to null?
Write a function that will take in a phone number and output all possible alphabetical combinations
How can I pad a string to a known length?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
What are the disadvantages of c language?
What is void main () in c?
Explain how can I convert a number to a string?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
Explain the advantages of using macro in c language?
What is a structure member in c?
How to establish connection with oracle database software from c language?