Find the O/p of the following
1)
#include
int main()
{
char c='1';
int j=atoi(c);
}

Answers were Sorted based on User's Feedback



Find the O/p of the following 1) #include int main() { char c='1'; int j=ato..

Answer / vinay

It will execute

Is This Answer Correct ?    18 Yes 5 No

Find the O/p of the following 1) #include int main() { char c='1'; int j=ato..

Answer / arka sen

it will give the ASCII Value of char C.

Is This Answer Correct ?    10 Yes 6 No

Find the O/p of the following 1) #include int main() { char c='1'; int j=ato..

Answer / ram

segmentation fault

Is This Answer Correct ?    3 Yes 0 No

Find the O/p of the following 1) #include int main() { char c='1'; int j=ato..

Answer / g

49

Is This Answer Correct ?    9 Yes 8 No

Post New Answer

More C Interview Questions

What are the 5 elements of structure?

0 Answers  


What are 'near' and 'far' pointers?

0 Answers  


Which is best linux os?

0 Answers  


Can you tell me how to check whether a linked list is circular?

1 Answers  


Why is c called c?

0 Answers  






what is the difference between global variable & static variable declared out side all the function in the file.

2 Answers  


how to write palindrome program?

3 Answers  


Why can’t we compare structures?

0 Answers  


Explain what is the benefit of using an enum rather than a #define constant?

0 Answers  


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

0 Answers  


What are the header files used in c language?

0 Answers  


how memory store byte

4 Answers   Huawei,


Categories