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

void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

2856


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜n’ element.

2164


When can you use a pointer with a function?

1155


Can you please explain the difference between strcpy() and memcpy() function?

1122


Is a house a shell structure?

1218


What is a program flowchart?

1289


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

1295


What is meant by initialization and how we initialize a variable?

1096


Write a program to reverse a given number in c language?

1166


Tell us something about keyword 'auto'.

1113


What is the difference between array and pointer?

1085


Describe the steps to insert data into a singly linked list.

1119


What is volatile, register definition in C

1154


What are the similarities between c and c++?

1141


Define macros.

1332