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 are type modifiers in c?
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
Why c is called procedure oriented language?
Differentiate between full, complete & perfect binary trees.
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
Are there any problems with performing mathematical operations on different variable types?
Here is a neat trick for checking whether two strings are equal
What does sizeof int return?
What is the total generic pointer type?
Do pointers need to be initialized?
write a program to print largest number of each row of a 2D array
ATM machine and railway reservation class/object diagram
For what purpose null pointer used?
What are the 4 types of unions?
Write a function that will take in a phone number and output all possible alphabetical combinations