main()
{
int *ptr=(int*)malloc(sizeof(int));
*ptr=4;
printf("%d",(*ptr)+++*ptr++);
}
Answer Posted / abhishek
(*ptr)++ = 5
(*ptr)++ = 5
(*ptr)+++(*ptr)++ = 5 + 5 = 10
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the difference between printf and scanf in c?
What is auto keyword in c?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
What are the different types of data structures in c?
Is struct oop?
Explain Function Pointer?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
Function calling procedures? and their differences? Why should one go for Call by Reference?
Are global variables static in c?
What is use of integral promotions in c?
Which header file is used for clrscr?
Difference between malloc() and calloc() function?
What are the application of c?
What is maximum size of array in c?
Explain what is the difference between text files and binary files?