#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
Which are low level languages?
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.
Explain how do you list files in a directory?
What is advantage of pointer in c?
Explain bitwise shift operators?
what is the height of tree if leaf node is at level 3. please explain
What does c value mean?
What does a pointer variable always consist of?
Does c have an equivalent to pascals with statement?
What are the uses of null pointers?
With the help of using classes, write a program to add two numbers.
Write a program of advanced Fibonacci series.
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
What are comments and how do you insert it in a C program?
What is putchar() function?