what is the return value (status code) of exit() function....
what the arguments(integer value) passed to it means....
Answer / arindam majumder
0 if successful and a non-zero value if unsuccessful.
The argument signifies whether the program have
executed successfully or not.
If 0,then it is successful.And a non-zero value indicates
an error.Several type of errors may occur.So a non-zero
value is supplied.Not 1 or 2 or...some specific value.
| Is This Answer Correct ? | 12 Yes | 0 No |
main() { int a; a=++100; printf("%d",a); getch(); }
consider the following structure: struct num nam{ int no; char name[25]; }; struct num nam n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}}; ..... ..... printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1); What does the above statement print? a.8,9 b.9,9 c.8,8 d.8,unpredictable value
In a byte, what is the maximum decimal number that you can accommodate?
what is data structure?
What is assert and when would I use it?
What is a structural principle?
Why is malloc used?
Can we use visual studio for c?
Explain can static variables be declared in a header file?
What is the use of function overloading in C?
Where is c used?
main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Why?*