main()
{
int arr[5]={23,67};
printf("%d%d%d",arr[2],arr[3],arr[4]);
}
Answer Posted / bsn.teja
till array elements are not given any specific values,they
are supposed to contain garbage values.
here we initialised only 1st two elements of the array.
so output will be garbage values.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is getch c?
Differentiate between declaring a variable and defining a variable?
What is meant by errors and debugging?
What is the data segment that is followed by c?
How can I find out how much free space is available on disk?
What are the preprocessor categories?
What are the types of variables in c?
Explain what are bus errors, memory faults, and core dumps?
What does main () mean in c?
List out few of the applications that make use of Multilinked Structures?
Write a program to show the change in position of a cursor using c
Explain main function in c?
How can you find the exact size of a data type in c?
c language interview questions & answer
What are pointers? What are different types of pointers?