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 / swaroop
clrscr()
should be after the declaration of variables
Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
how can I convert a string to a number?
Explain how can I manipulate strings of multibyte characters?
What is identifier in c?
What are the three constants used in c?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
What is void pointers in c?
why wipro wase
What is structure data type in c?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
Is javascript written in c?
What is the difference between break and continue?
Explain what is the difference between functions abs() and fabs()?
What are volatile variables in c?
How to write a code for implementing my own printf() and
scanf().... Please hep me in this... I need a guidance...
Can you give an coding for c... Please also explain about
the header files used other than #include
What is the value of uninitialized variable in c?