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


Please Help Members By Posting Answers For Below Questions

What are the key features in c programming language?

602


Write a Program to find whether the given number or string is palindrome.

605


Is swift based on c?

627


Define and explain about ! Operator?

609


Can you please explain the difference between syntax vs logical error?

682






What is bss in c?

593


What is the significance of scope resolution operator?

845


Explain how do you print only part of a string?

642


diff between exptected result and requirement?

1590


What are the application of c?

635


hi send me sample aptitude papers of cts?

1644


What are near, far and huge pointers?

639


What is the function of this pointer?

662


How can I change the size of the dynamically allocated array?

623


Is null always defined as 0(zero)?

602