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 / khurshid alam
sorry brother your simple mistake following this
printf("%d",a); // here semicolon(;) must be
now run your program
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is line in c preprocessor?
What are the 4 types of functions?
What are the types of pointers?
What is %g in c?
Is r written in c?
What is a shell structure examples?
What is hashing in c?
FILE PROGRAMMING
What is the difference between volatile and const volatile?
What is an array 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.
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
How do you write a program which produces its own source code as output?
What is use of #include in c?