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

Answer Posted / vinay

It will execute

Is This Answer Correct ?    18 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

656


Can we change the value of static variable in c?

565


Explain what is the benefit of using enum to declare a constant?

589


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

1473


How are variables declared in c?

600






How reliable are floating-point comparisons?

631


if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above

713


How pointers are declared?

564


A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

670


in linking some of os executables are linking name some of them

1652


What is function definition in c?

588


Which is better oop or procedural?

635


What is the use of pragma in embedded c?

593


count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array

679


What is the difference between volatile and const volatile?

565