main()
{
int arr[5]={23,67};
printf("%d%d%d",arr[2],arr[3],arr[4]);
}
Answer Posted / vignesh1988i
all wil print the garbage values in the respected
memories... since we only initilized for two locations in
th array.... so other locations in the array wil have
garbage values
Is This Answer Correct ? | 13 Yes | 9 No |
Post New Answer View All Answers
What does c in a circle mean?
What are the 5 data types?
Explain the meaning of keyword 'extern' in a function declaration.
Why is structure padding done in c?
How do I get an accurate error status return from system on ms-dos?
Why is event driven programming or procedural programming, better within specific scenario?
Why pointers are used?
What is the right way to use errno?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
code for replace tabs with equivalent number of blanks
Why do we use c for the speed of light?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
Explain what is the benefit of using #define to declare a constant?
Is multithreading possible in c?
How do I round numbers?