main()
{
char *ptr = "Ramco Systems";
(*ptr)++;
printf("%s\n",ptr);
ptr++;
printf("%s\n",ptr);
}
Find the Outputs?
Post New Answer View All Answers
Explain what is meant by high-order and low-order bytes?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
What are the types of assignment statements?
How can I remove the trailing spaces from a string?
What is a static function in c?
What is wrong with this declaration?
Why we not create function inside function.
What is the difference between typedef and #define?
What are types of preprocessor in c?
How can I convert a number to a string?
What are c header files?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
How can I send mail from within a c program?