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

State two uses of pointers in C?

853


Where are local variables stored in c?

791


How does selection sort work in c?

827


A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

2024


What is #define used for in c?

835


What is a pointer variable in c language?

866


What is pre-emptive data structure and explain it with example?

3500


What is hash table in c?

801


What are the 5 types of organizational structures?

810


What are the advantages and disadvantages of pointers?

834


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

2874


What is the difference between formatted&unformatted i/o functions?

842


What happens if header file is included twice?

912


What is maximum size of array in c?

799


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2379