when i declare as:
void main()
{
clrscr();
int a=10;
printf("%d",a)
}
my problem that why generate a error in above programs.
please tell me answer seriously .
Answer Posted / khurshid alam
sorry brother your simple mistake following this
printf("%d",a); // here semicolon(;) must be
now run your program
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How reliable are floating-point comparisons?
What are data structures in c and how to use them?
What is the meaning of 2d in c?
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
Which header file should you include if you are to develop a function which can accept variable number of arguments?
What is a c token and types of c tokens?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
What are the usage of pointer in c?
What does a pointer variable always consist of?
What is the difference between test design and test case design?
How do you generate random numbers in C?
What is "Hungarian Notation"?
How can you determine the size of an allocated portion of memory?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.