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

Answer Posted / visalakshi

yes it is six

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

2538


Who is the founder of c language?

687


Find MAXIMUM of three distinct integers using a single C statement

624


What are file streams?

573


What is a far pointer in c?

599






What is a #include preprocessor?

620


Can you please explain the difference between syntax vs logical error?

698


Is sizeof a keyword in c?

585


write a program to display all prime numbers

1457


If fflush wont work, what can I use to flush input?

617


How many keywords (reserve words) are in c?

622


Explain how do you generate random numbers in c?

627


c program for searching a student details among 10 student details

1657


Explain the use of function toupper() with and example code?

655


Describe dynamic data structure in c programming language?

607