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
Are there any problems with performing mathematical operations on different variable types?
What is uint8 in c?
Explain what math functions are available for integers? For floating point?
What do you know about the use of bit field?
Why is c used in embedded systems?
Why do we use static in c?
What are variables and it what way is it different from constants?
What is the difference between a free-standing and a hosted environment?
What is extern storage class in c?
Can you explain the four storage classes in C?
What is action and transformation in spark?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
How do I determine whether a character is numeric, alphabetic, and so on?
Who developed c language and when?
In a switch statement, explain what will happen if a break statement is omitted?