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
Compare array data type to pointer data type
Describe the modifier in c?
how can f be used for both float and double arguments in printf? Are not they different types?
Why void is used in c?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
What is the size of enum in bytes?
Here is a neat trick for checking whether two strings are equal
Can i use “int” data type to store the value 32768? Why?
Do pointers need to be initialized?
please send me the code for multiplying sparse matrix using c
What are type modifiers in c?
How we can insert comments in a c program?
Explain what does it mean when a pointer is used in an if statement?
Tell us two differences between new () and malloc ()?
List the different types of c tokens?