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


Please Help Members By Posting Answers For Below Questions

Difference between strcpy() and memcpy() function?

673


What is the correct declaration of main?

675


What is a double c?

588


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

2738


How does placing some code lines between the comment symbol help in debugging the code?

544






What are identifiers c?

560


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

899


What is a good way to implement complex numbers in c?

591


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

5791


What are dangling pointers? How are dangling pointers different from memory leaks?

617


how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions

2718


What is the difference between printf and scanf in c?

745


how should functions be apportioned among source files?

623


What is the use of clrscr?

591


What is a struct c#?

599