main()
{
int a=0;
if(a=0) printf("Ramco Systems\n");
printf("India\n");
}
output?
Answer Posted / ripal
The output will produce error because there is error at if
(a=0).It should be if(a==0)
| Is This Answer Correct ? | 8 Yes | 7 No |
Post New Answer View All Answers
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 is putchar() function?
What are type modifiers in c?
How can I write a function analogous to scanf?
what is ur strangth & weekness
What does 4d mean in c?
What are structure types in C?
largest Of three Number using without if condition?
What is the use of getchar() function?
Is it possible to have a function as a parameter in another function?
How would you obtain the current time and difference between two times?
What is meant by realloc()?
What is c definition?
What is a void pointer in c?
How macro execution is faster than function ?