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


Please Help Members By Posting Answers For Below Questions

Is array name a pointer?

607


How can I delete a file?

631


What is the acronym for ansi?

632


Sir i need notes for structure,functions,pointers in c language can you help me please

1947


Ow can I insert or delete a line (or record) in the middle of a file?

577






What is the condition that is applied with ?: Operator?

665


What are the uses of null pointers?

591


How can a number be converted to a string?

608


What is the function of this pointer?

674


Can we use any name in place of argv and argc as command line arguments?

610


What is methods in c?

643


ATM machine and railway reservation class/object diagram

4806


What is pass by reference in functions?

326


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

2610


What is include directive in c?

646