What is the difference between void main() and int main()?
Answer / nashiinformaticssolutions
void main() is not standard; int main() is required by the C standard to return an integer.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why do u use # before include in a C Progam?
How can I find out how much memory is available?
can we have joblib in a proc ?
The differences between Windows XP and Windows Visa
How would you obtain the current time and difference between two times?
int main() { int i=1; switch(i) { case '1': printf("hello"); break; case 1: printf("Hi"); break; case 49: printf("Good Morning"); break; } return 0; }
What is meant by errors and debugging?
What is %lu in c?
Which is not valid in C? 1) class aClass{public:int x;} 2) /* A comment */ 3) char x=12;
12. Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV
What is structure padding ?
Reverse a string word by word??