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 do you understand by normalization of pointers?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
how to find binary of number?
What is memcpy() function?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
Is main is a keyword in c?
What is indirection in c?
What is the difference between exit() and _exit() function in c?
How can this be legal c?
What are the applications of c language?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
Do you know the difference between exit() and _exit() function in c?
Describe the difference between = and == symbols in c programming?
What are valid signatures for the Main function?
In which language linux is written?