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...

What is the output of following program ?

int
main()
{
int x = 5;
printf("%d %d %d\n", x, x << 2, x >> 2);
}

Answer Posted / sudhir prasad

5 20 1 is correct answer

Is This Answer Correct ?    21 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the term printf() and scanf() used in c language?

1014


What is restrict keyword in c?

1062


Why do we use pointer to pointer in c?

1035


What are multidimensional arrays?

1079


How do I read the arrow keys? What about function keys?

1028


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

2336


What is declaration and definition in c?

1032


What is the difference between struct and union in C?

1262


How to compare array with pointer in c?

1069


What do you mean by invalid pointer arithmetic?

1016


What is adt in c programming?

1122


Why is c faster?

1031


What is the difference between array and linked list in c?

1100


ATM machine and railway reservation class/object diagram

5203


How is pointer initialized in c?

988