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
Why does everyone say not to use scanf? What should I use instead?
Why do we need volatile in c?
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
How many loops are there in c?
What is a built-in function in C?
What is the symbol indicated the c-preprocessor?
Why is c called c?
What are the different types of objects used in c?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
Why is a semicolon (;) put at the end of every program statement?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
What is static identifier?
Who developed c language?
What is FIFO?
Explain how do you list files in a directory?