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
What is the difference between array_name and &array_name?
What is a sequential access file?
What is spark map function?
How do I convert a string to all upper or lower case?
How do we declare variables in c?
Why is it important to memset a variable, immediately after allocating memory to it ?
What is a program?
Describe how arrays can be passed to a user defined function
write a c program to calculate sum of digits till it reduces to a single digit using recursion
Differentiate abs() function from fabs() function.
What is wrong with this program statement? void = 10;
what do you mean by inline function in C?
What are the rules for the identifier?
How will you divide two numbers in a MACRO?
What is the method to save data in stack data structure type?