Find the O/p of the following
1)
#include
int main()
{
char c='1';
int j=atoi(c);
}
Answer Posted / arka sen
it will give the ASCII Value of char C.
| Is This Answer Correct ? | 10 Yes | 6 No |
Post New Answer View All Answers
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
swap 2 numbers without using third variable?
How can I make it pause before closing the program output window?
What are loops c?
Which one would you prefer - a macro or a function?
What is the value of uninitialized variable in c?
What is a char c?
For what purpose null pointer used?
What are pointers? What are different types of pointers?
Is there a way to compare two structure variables?
How can I find out the size of a file, prior to reading it in?
Why doesnt long int work?
Is array a primitive data type in c?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.