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

main()
{
int arr[5]={23,67};
printf("%d%d%d",arr[2],arr[3],arr[4]);
}

Answer Posted / jaga

in linux it will give garbage values...
in unix it will give 000(automatically initialized to 0)

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are categories used for in c?

1111


Write a program to use switch statement.

1137


A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile

1113


#include { printf("Hello"); } how compile time affects when we add additional header file .

1914


What does the function toupper() do?

1145


What is volatile keyword in c?

1045


Explain modulus operator. What are the restrictions of a modulus operator?

1027


Should I learn c before c++?

1246


Describe dynamic data structure in c programming language?

1107


Do you have any idea about the use of "auto" keyword?

1095


What are the 5 data types?

1150


Which type of language is c?

1086


Explain the binary height balanced tree?

1195


Can 'this' pointer by used in the constructor?

1103


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

1140