find the output of the following program
main()
{
int x=5, *p;
p=&x;
printf("%d",++*p);
}
Answer Posted / dilip
6
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why do we use & in c?
Why c is called top down?
How can I pad a string to a known length?
What does a function declared as pascal do differently?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What are the disadvantages of external storage class?
In which header file is the null macro defined?
What is the difference between malloc calloc and realloc in c?
What is the correct code to have following output in c using nested for loop?
What is a lvalue
What is zero based addressing?
Where static variables are stored in c?
What is the difference between pure virtual function and virtual function?
What is printf () in c?
What is type qualifiers?