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 / sandhiya.g
declaration should made before the clear screen statement
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What are the two forms of #include directive?
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
Explain how do you declare an array that will hold more than 64kb of data?
Explain how do you search data in a data file using random access method?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What is the newline escape sequence?
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
Tell us bitwise shift operators?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
Add Two Numbers Without Using the Addition Operator
write a program to display all prime numbers
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
What is string function in c?