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
Write a code to remove duplicates in a string.
Why do some versions of toupper act strangely if given an upper-case letter?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
Which is the best website to learn c programming?
Difference between macros and inline functions? Can a function be forced as inline?
Why isnt there a numbered, multi-level break statement to break out
using only #include
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
What does return 1 means in c?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
Is c programming hard?
Can you subtract pointers from each other? Why would you?
Why do we use namespace feature?
What is the maximum length of an identifier?
What does typedef struct mean?