find the output of the following program
main()
{
int x=5, *p;
p=&x;
printf("%d",++*p);
}

Answer Posted / guest

6

Is This Answer Correct ?    103 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

650


What are the types of arrays in c?

624


Explain how do you list a file’s date and time?

621


What are the types of data structures in c?

604


Can math operations be performed on a void pointer?

590






What is the difference between new and malloc functions?

581


What is strcmp in c?

601


What will be your course of action for a push operation?

669


What is the Purpose of 'extern' keyword in a function declaration?

655


What is the benefit of using const for declaring constants?

590


Is this program statement valid? INT = 10.50;

687


Where static variables are stored in memory in c?

524


Explain how can I open a file so that other programs can update it at the same time?

593


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

1787


What are the parts of c program?

638