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
What is wrong with this declaration?
What is the difference between break and continue?
Which is better between malloc and calloc?
What is console in c language?
What is the difference between the expression “++a” and “a++”?
What is the difference between call by value and call by reference in c?
Who is the founder of c language?
What is the difference between test design and test case design?
Explain bitwise shift operators?
Explain spaghetti programming?
What is null in c?
program for reversing a selected line word by word when multiple lines are given without using strrev
What is the difference between the local variable and global variable in c?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
write a program to display all prime numbers