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


Please Help Members By Posting Answers For Below Questions

Why is this loop always executing once?

611


Write a program for Overriding.

672


What is I ++ in c programming?

617


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

759


What is malloc return c?

593






Explain how can you be sure that a program follows the ansi c standard?

852


What is a class c rental property?

600


Are the expressions * ptr ++ and ++ * ptr same?

660


I heard that you have to include stdio.h before calling printf. Why?

582


What is pass by reference in c?

603


What is a struct c#?

597


What is an example of structure?

583


Write a program to check armstrong number in c?

631


What is void pointers in c?

578


Explain how do I determine whether a character is numeric, alphabetic, and so on?

646