Find the O/p of the following
1)
#include
int main()
{
char c='1';
int j=atoi(c);
}
Answer Posted / ram
segmentation fault
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain how do you generate random numbers in c?
What is exit() function?
What is operator precedence?
Where define directive used?
Explain what are reserved words?
What is a constant and types of constants in c?
Explain what standard functions are available to manipulate strings?
What is the difference between Printf(..) and sprint(...) ?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What are the similarities between c and c++?
What is structure packing in c?
Can a file other than a .h file be included with #include?
Why are all header files not declared in every c program?
Why is c so important?
What does struct node * mean?