Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / lrishna

ya ans is 6.

Is This Answer Correct ?    32 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does main () mean in c?

1061


Why we use void main in c?

1102


Does sprintf put null character?

990


What are called c variables?

1015


Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

2035


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

1019


Can you subtract pointers from each other? Why would you?

919


What are void pointers in c?

969


What is a macro, and explain how do you use it?

1021


Explain what is the stack?

1043


What is the significance of c program algorithms?

1100


What is hashing in c language?

1191


What are register variables? What are the advantage of using register variables?

1132


Explain what are multidimensional arrays?

1011


Write a Program to accept different goods with the number, price and date of purchase and display them

6150