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 is double pointer in c?

581


Is c call by value?

595


What is the purpose of 'register' keyword in c language?

619


write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

3268


How to find a missed value, if you want to store 100 values in a 99 sized array?

806






What is getch() function?

639


What is the use of putchar function?

644


a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list

619


Where are some collections of useful code fragments and examples?

707


Explain Function Pointer?

679


How to throw some light on the b tree?

600


What does *p++ do?

576


Which driver is a pure java driver

984


What is the purpose of clrscr () printf () and getch ()?

590


Write a program with dynamically allocation of variable.

598