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 are types of preprocessor in c?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
How do you view the path?
What language is c written?
Explain what are compound statements?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
What is indirection in c?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
What is bss in c?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
What is c standard library?
What is pointer to pointer in c?
write a program to concatenation the string using switch case?
What is the use of getchar() function?
write a c program for swapping two strings using pointer