#include<stdio.h>
void main()
{
int a [5];
for (i=0; i<=4; i++)
printf(ā€œ%dā€ ,a[i]);
}

Answer Posted / sameer mohammed

It shows us garbage values as because the integer type
array is declared but it is not defined.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

641


Where is c used?

646


What is the difference between memcpy and memmove?

603


What does void main () mean?

731


Explain how do you override a defined macro?

583






cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration

633


The difference between printf and fprintf is ?

720


Can we use any name in place of argv and argc as command line arguments?

608


What happens if header file is included twice?

653


What is %d called in c?

757


Why is structure padding done in c?

641


what are bit fields? What is the use of bit fields in a structure declaration?

1499


Difference between pass by reference and pass by value?

658


Why is c still so popular?

616


What is class and object in c?

589