what is use#in c
Answers were Sorted based on User's Feedback
# is preprocessor which tell compiler that what header
file we using in our program.
for example:
#include<stdio.h>
void main()
in the above when compiler check program it start execution
of program from main and will tell that uor header file
is "standard input output header file"
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / saurabh chakrabarty
# is used in c to write preprocessor statements (i.e. macros)
these statements are called preprocessor statements as these
statements are processed prior to the compilation of the
rest of the code by the compiler
Is This Answer Correct ? | 1 Yes | 0 No |
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
int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ?
What is a constant and types of constants in c?
If errno contains a nonzero number, is there an error?
Why we use break in c?
What is the modulus operator?
How can I insert or delete a line (or record) in the middle of a file?
How to create struct variables?
What’s a signal? Explain what do I use signals for?
What is extern c used for?
change to postfix a/(b+c*d-e)
What is wrong in this statement?