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 is the difference between fread and fwrite function?
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
Difference between linking and loading?
Is c is a procedural language?
what is the role you expect in software industry?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
What is identifiers in c with examples?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
Write a program which returns the first non repetitive character in the string?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
What is the equivalent code of the following statement in WHILE LOOP format?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What is an auto variable in c?
What is adt in c programming?