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
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
What is the advantage of an array over individual variables?
What is #include stdlib h?
Is it possible to execute code even after the program exits the main() function?
Explain what is page thrashing?
How can my program discover the complete pathname to the executable from which it was invoked?
What are types of preprocessor in c?
Explain continue keyword in c
What is a node in c?
What is the use of function in c?
Is array name a pointer?
What is the significance of c program algorithms?
Is main is a keyword in c?
What is %d called in c?
How do you define structure?