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
When should you not use a type cast?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
Which function in C can be used to append a string to another string?
How can I write functions that take a variable number of arguments?
what is the difference between class and unio?
What is declaration and definition in c?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
What is 2c dna?
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
Explain the difference between #include "..." And #include <...> In c?
What's a good way to check for "close enough" floating-point equality?
using only #include
How can I manipulate individual bits?
What is meant by 'bit masking'?
What is 1d array in c?