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 preprocessor with example?
Hai what is the different types of versions and their differences
What does the message "automatic aggregate intialization is an ansi feature" mean?
Explain the binary height balanced tree?
Why do we write return 0 in c?
Why do we need a structure?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
Why c is called a mid level programming language?
Are the expressions * ptr ++ and ++ * ptr same?
Can a variable be both constant and volatile?
What is main () in c?
Can you think of a logic behind the game minesweeper.
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Explain how can I convert a string to a number?
What are the types of pointers in c?