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 realloc in c?

688


how to make a scientific calculater ?

1667


What is quick sort in c?

696


How many types of errors are there in c language? Explain

656


Are pointers integer?

642






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

1519


How to draw the flowchart for structure programs?

8842


What does a pointer variable always consist of?

755


Can you write a programmer for FACTORIAL using recursion?

704


What is an operator?

755


What 'lex' does?

819


Write a program to show the change in position of a cursor using c

683


Write a code to generate a series where the next element is the sum of last k terms.

841


Why is it important to memset a variable, immediately after allocating memory to it ?

1648


How will you declare an array of three function pointers where each function receives two ints and returns a float?

888