main()
{
int *ptr=(int*)malloc(sizeof(int));
*ptr=4;
printf("%d",(*ptr)+++*ptr++);
}
Answer Posted / s k dubey
hello ,if problem is..
int *p=(int*)malloc(sizeof(int));
*p=4;
printf("%d",(*p)+++(*p)++);
o/p is 9;
it is just similar the case of post incremental operation of
variable like i+++i++.
| Is This Answer Correct ? | 158 Yes | 14 No |
Post New Answer View All Answers
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
how we can make 3d venturing graphics on outer interface
Explain what are compound statements?
Is return a keyword in c?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
why wipro wase
Which is an example of a structural homology?
What does node * mean?
Explain the difference between call by value and call by reference in c language?
List some applications of c programming language?
Differentiate between the expression “++a” and “a++”?
What is function what are the types of function?
What are the rules for identifiers in c?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
Why is c known as a mother language?