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
What is a example of a variable?
Can the sizeof operator be used to tell the size of an array passed to a function?
What are the properties of union in c?
what will be the output for the following main() { printf("hi" "hello"); }
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
What is C language ?
Can we declare variables anywhere in c?
Can you return null in c?
Explain is it valid to address one element beyond the end of an array?
What is the advantage of a random access file?
What is the use of ?
What is string function in c?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
Explain what is wrong with this program statement? Void = 10;
How do I copy files?