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

Answer Posted / tanvi jain

as i is not yet declared,so give an error.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which are low level languages?

640


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

1791


Explain how do you list files in a directory?

620


What is advantage of pointer in c?

697


Explain bitwise shift operators?

634






what is the height of tree if leaf node is at level 3. please explain

1604


What does c value mean?

631


What does a pointer variable always consist of?

667


Does c have an equivalent to pascals with statement?

576


What are the uses of null pointers?

594


With the help of using classes, write a program to add two numbers.

622


Write a program of advanced Fibonacci series.

711


Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

2561


What are comments and how do you insert it in a C program?

746


What is putchar() function?

640