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


Please Help Members By Posting Answers For Below Questions

What is getch c?

860


Differentiate between declaring a variable and defining a variable?

612


What is meant by errors and debugging?

653


What is the data segment that is followed by c?

617


How can I find out how much free space is available on disk?

632






What are the preprocessor categories?

641


What are the types of variables in c?

585


Explain what are bus errors, memory faults, and core dumps?

796


What does main () mean in c?

619


List out few of the applications that make use of Multilinked Structures?

1312


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

585


Explain main function in c?

632


How can you find the exact size of a data type in c?

603


c language interview questions & answer

1465


What are pointers? What are different types of pointers?

634