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 linker error?

614


Explain how do you convert strings to numbers in c?

594


How many levels of pointers have?

594


How is a structure member accessed?

585


Explain the binary height balanced tree?

726






Explain the difference between the local variable and global variable in c?

603


What are the advantages and disadvantages of a heap?

714


What is I ++ in c programming?

627


Explain what are the different file extensions involved when programming in c?

633


What does node * mean?

713


which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above

1419


How can I read in an object file and jump to locations in it?

580


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2334


What are the disadvantages of a shell structure?

695


If you know then define #pragma?

676