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

Answer Posted / rajeesh

Six -6

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of the functions?

607


What is the scope of static variable in c?

537


What is an auto variable in c?

759


Can an array be an Ivalue?

667


If the size of int data type is two bytes, what is the range of signed int data type?

595






Write a program to generate random numbers in c?

665


Are global variables static in c?

677


Is array a primitive data type in c?

580


What is scope and lifetime of a variable in c?

579


What is difference between structure and union in c?

549


How can I avoid the abort, retry, fail messages?

664


how to count no of words,characters,lines in a paragraph.

3908


Can you pass an entire structure to functions?

697


What are the 5 organizational structures?

570


Explain the ternary tree?

604